MHD_config.h 4.0 KB

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