|
Packit |
875988 |
/* MHD_config.h for W32 */
|
|
Packit |
875988 |
/* Created manually. */
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* *** Basic OS/compiler information *** */
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* This is a Windows system */
|
|
Packit |
875988 |
#define WINDOWS 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define if MS VC compiler is used */
|
|
Packit |
875988 |
#define MSVC 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if your C compiler supports inline functions. */
|
|
Packit |
875988 |
#define INLINE_FUNC 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to prefix which will be used with MHD inline functions. */
|
|
Packit |
875988 |
#define _MHD_static_inline static __forceinline
|
|
Packit |
875988 |
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* *** MHD configuration *** */
|
|
Packit |
875988 |
/* Undef to disable feature */
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Enable basic Auth support */
|
|
Packit |
875988 |
#define BAUTH_SUPPORT 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Enable digest Auth support */
|
|
Packit |
875988 |
#define DAUTH_SUPPORT 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Enable postprocessor.c */
|
|
Packit |
875988 |
#define HAVE_POSTPROCESSOR 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Enable error messages */
|
|
Packit |
875988 |
#define HAVE_MESSAGES 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Enable HTTP Upgrade support. */
|
|
Packit |
875988 |
#define UPGRADE_SUPPORT 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* *** OS features *** */
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Provides IPv6 headers */
|
|
Packit |
875988 |
#define HAVE_INET6 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to use socketpair for inter-thread communication */
|
|
Packit |
875988 |
#define _MHD_ITC_SOCKETPAIR 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* define to use W32 threads */
|
|
Packit |
875988 |
#define MHD_USE_W32_THREADS 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
#ifndef _WIN32_WINNT
|
|
Packit |
875988 |
/* MHD supports Windows XP and later W32 systems*/
|
|
Packit |
875988 |
#define _WIN32_WINNT 0x0501
|
|
Packit |
875988 |
#endif /* _WIN32_WINNT */
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* winsock poll is available only on Vista and later */
|
|
Packit |
875988 |
#if _WIN32_WINNT >= 0x0600
|
|
Packit |
875988 |
#define HAVE_POLL 1
|
|
Packit |
875988 |
#endif /* _WIN32_WINNT >= 0x0600 */
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <winsock2.h> header file. */
|
|
Packit |
875988 |
#define HAVE_WINSOCK2_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <ws2tcpip.h> header file. */
|
|
Packit |
875988 |
#define HAVE_WS2TCPIP_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the `_lseeki64' function. */
|
|
Packit |
875988 |
#define HAVE___LSEEKI64 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the `gmtime_s' function in W32 form. */
|
|
Packit |
875988 |
#define HAVE_W32_GMTIME_S 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the usable `calloc' function. */
|
|
Packit |
875988 |
#define HAVE_CALLOC 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
#if _MSC_VER >= 1900 /* snprintf() supported natively since VS2015 */
|
|
Packit |
875988 |
/* Define to 1 if you have the `snprintf' function. */
|
|
Packit |
875988 |
#define HAVE_SNPRINTF 1
|
|
Packit |
875988 |
#endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
#if _MSC_VER >= 1800
|
|
Packit |
875988 |
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
Packit |
875988 |
#define HAVE_INTTYPES_H 1
|
|
Packit |
875988 |
#endif
|
|
Packit |
875988 |
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* *** Headers information *** */
|
|
Packit |
875988 |
/* Not really important as not used by code currently */
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <errno.h> header file. */
|
|
Packit |
875988 |
#define HAVE_ERRNO_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
Packit |
875988 |
#define HAVE_FCNTL_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
Packit |
875988 |
#define HAVE_INTTYPES_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <limits.h> header file. */
|
|
Packit |
875988 |
#define HAVE_LIMITS_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <locale.h> header file. */
|
|
Packit |
875988 |
#define HAVE_LOCALE_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <math.h> header file. */
|
|
Packit |
875988 |
#define HAVE_MATH_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <memory.h> header file. */
|
|
Packit |
875988 |
#define HAVE_MEMORY_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <stdint.h> header file. */
|
|
Packit |
875988 |
#define HAVE_STDINT_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <stdio.h> header file. */
|
|
Packit |
875988 |
#define HAVE_STDIO_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
Packit |
875988 |
#define HAVE_STDLIB_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <strings.h> header file. */
|
|
Packit |
875988 |
#define HAVE_STRINGS_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <string.h> header file. */
|
|
Packit |
875988 |
#define HAVE_STRING_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
Packit |
875988 |
#define HAVE_SYS_STAT_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
Packit |
875988 |
#define HAVE_SYS_TYPES_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <time.h> header file. */
|
|
Packit |
875988 |
#define HAVE_TIME_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the <stddef.h> header file. */
|
|
Packit |
875988 |
#define HAVE_STDDEF_H 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
#if _MSC_VER+0 >= 1800 /* VS 2013 and later */
|
|
Packit |
875988 |
/* Define to 1 if you have the <stdbool.h> header file and <stdbool.h> defines
|
|
Packit |
875988 |
'bool' type. */
|
|
Packit |
875988 |
#define HAVE_STDBOOL_H 1
|
|
Packit |
875988 |
#else /* before VS 2013 */
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to type name which will be used as boolean type. */
|
|
Packit |
875988 |
#define bool int
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to value interpreted by compiler as boolean "false", if "false" is
|
|
Packit |
875988 |
not defined by system headers. */
|
|
Packit |
875988 |
#define false 0
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to value interpreted by compiler as boolean "true", if "true" is not
|
|
Packit |
875988 |
defined by system headers. */
|
|
Packit |
875988 |
#define true (!0)
|
|
Packit |
875988 |
#endif /* before VS 2013 */
|
|
Packit |
875988 |
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* *** Other useful staff *** */
|
|
Packit |
875988 |
|
|
Packit |
875988 |
#define _GNU_SOURCE 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* Define to 1 if you have the ANSI C header files. */
|
|
Packit |
875988 |
#define STDC_HEADERS 1
|
|
Packit |
875988 |
|
|
Packit |
875988 |
|
|
Packit |
875988 |
/* End of MHD_config.h */
|