MHD_config.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. /* MHD_config.h for W32 */
  2. /* Created manually. */
  3. /* *** Basic OS/compiler information *** */
  4. /* This is a Windows system */
  5. #define WINDOWS 1
  6. /* Define if MS VC compiler is used */
  7. #define MSVC 1
  8. /* Define that MS VC does not support VLAs */
  9. #ifndef __clang__
  10. #define __STDC_NO_VLA__ 1
  11. #endif
  12. /* Define to 1 if your C compiler supports inline functions. */
  13. #define INLINE_FUNC 1
  14. /* Define to prefix which will be used with MHD inline functions. */
  15. #define _MHD_static_inline static __forceinline
  16. /* *** MHD configuration *** */
  17. /* Undef to disable feature */
  18. /* Enable basic Auth support */
  19. #define BAUTH_SUPPORT 1
  20. /* Enable digest Auth support */
  21. #define DAUTH_SUPPORT 1
  22. /* Enable postprocessor.c */
  23. #define HAVE_POSTPROCESSOR 1
  24. /* Enable error messages */
  25. #define HAVE_MESSAGES 1
  26. /* Enable HTTP Upgrade support. */
  27. #define UPGRADE_SUPPORT 1
  28. /* *** OS features *** */
  29. /* Provides IPv6 headers */
  30. #define HAVE_INET6 1
  31. /* Define to use socketpair for inter-thread communication */
  32. #define _MHD_ITC_SOCKETPAIR 1
  33. /* define to use W32 threads */
  34. #define MHD_USE_W32_THREADS 1
  35. #ifndef _WIN32_WINNT
  36. /* MHD supports Windows XP and later W32 systems*/
  37. #define _WIN32_WINNT 0x0501
  38. #endif /* _WIN32_WINNT */
  39. /* winsock poll is available only on Vista and later */
  40. #if _WIN32_WINNT >= 0x0600
  41. #define HAVE_POLL 1
  42. #endif /* _WIN32_WINNT >= 0x0600 */
  43. /* Define to 1 if you have the <winsock2.h> header file. */
  44. #define HAVE_WINSOCK2_H 1
  45. /* Define to 1 if you have the <ws2tcpip.h> header file. */
  46. #define HAVE_WS2TCPIP_H 1
  47. /* Define to 1 if you have the `_lseeki64' function. */
  48. #define HAVE___LSEEKI64 1
  49. /* Define to 1 if you have the `gmtime_s' function in W32 form. */
  50. #define HAVE_W32_GMTIME_S 1
  51. /* Define to 1 if you have the usable `calloc' function. */
  52. #define HAVE_CALLOC 1
  53. /* Define if you have usable assert() and assert.h */
  54. #define HAVE_ASSERT 1
  55. #if _MSC_VER >= 1900 /* snprintf() supported natively since VS2015 */
  56. /* Define to 1 if you have the `snprintf' function. */
  57. #define HAVE_SNPRINTF 1
  58. #endif
  59. #if _MSC_VER >= 1800
  60. /* Define to 1 if you have the <inttypes.h> header file. */
  61. #define HAVE_INTTYPES_H 1
  62. #endif
  63. /* *** Headers information *** */
  64. /* Not really important as not used by code currently */
  65. /* Define to 1 if you have the <errno.h> header file. */
  66. #define HAVE_ERRNO_H 1
  67. /* Define to 1 if you have the <fcntl.h> header file. */
  68. #define HAVE_FCNTL_H 1
  69. /* Define to 1 if you have the <inttypes.h> header file. */
  70. #define HAVE_INTTYPES_H 1
  71. /* Define to 1 if you have the <limits.h> header file. */
  72. #define HAVE_LIMITS_H 1
  73. /* Define to 1 if you have the <locale.h> header file. */
  74. #define HAVE_LOCALE_H 1
  75. /* Define to 1 if you have the <math.h> header file. */
  76. #define HAVE_MATH_H 1
  77. /* Define to 1 if you have the <memory.h> header file. */
  78. #define HAVE_MEMORY_H 1
  79. /* Define to 1 if you have the <stdint.h> header file. */
  80. #define HAVE_STDINT_H 1
  81. /* Define to 1 if you have the <stdio.h> header file. */
  82. #define HAVE_STDIO_H 1
  83. /* Define to 1 if you have the <stdlib.h> header file. */
  84. #define HAVE_STDLIB_H 1
  85. /* Define to 1 if you have the <strings.h> header file. */
  86. #define HAVE_STRINGS_H 1
  87. /* Define to 1 if you have the <string.h> header file. */
  88. #define HAVE_STRING_H 1
  89. /* Define to 1 if you have the <sys/stat.h> header file. */
  90. #define HAVE_SYS_STAT_H 1
  91. /* Define to 1 if you have the <sys/types.h> header file. */
  92. #define HAVE_SYS_TYPES_H 1
  93. /* Define to 1 if you have the <time.h> header file. */
  94. #define HAVE_TIME_H 1
  95. /* Define to 1 if you have the <stddef.h> header file. */
  96. #define HAVE_STDDEF_H 1
  97. #if _MSC_VER+0 >= 1800 /* VS 2013 and later */
  98. /* Define to 1 if you have the <stdbool.h> header file and <stdbool.h> defines
  99. 'bool' type. */
  100. #define HAVE_STDBOOL_H 1
  101. #else /* before VS 2013 */
  102. /* Define to type name which will be used as boolean type. */
  103. #define bool int
  104. /* Define to value interpreted by compiler as boolean "false", if "false" is
  105. not defined by system headers. */
  106. #define false 0
  107. /* Define to value interpreted by compiler as boolean "true", if "true" is not
  108. defined by system headers. */
  109. #define true (!0)
  110. #endif /* before VS 2013 */
  111. /* *** Other useful staff *** */
  112. #define _GNU_SOURCE 1
  113. /* Define to 1 if you have the ANSI C header files. */
  114. #define STDC_HEADERS 1
  115. /* End of MHD_config.h */