Go to the documentation of this file. 32 #define MHD_OPTIONS_H 1 34 #include "MHD_config.h" 42 #define _(String) (String) 47 #if defined(BUILDING_MHD_LIB) && defined(_WIN32) && \ 48 (defined(DLL_EXPORT) || defined(MHD_W32DLL)) 49 #define _MHD_EXTERN __declspec(dllexport) extern 51 #define _MHD_EXTERN extern 60 #elif defined(_WIN32) && !defined(__CYGWIN__) 62 #define FD_SETSIZE 2048 65 #define _MHD_FD_SETSIZE_IS_DEFAULT 1 70 #define _OPEN_SYS_SOCK_IPV6 71 #define _OPEN_MSGQ_EXT 77 #define _WIN32_WINNT 0x0501 79 #if _WIN32_WINNT < 0x0501 80 #error "Headers for Windows XP or later are required" 83 #ifndef WIN32_LEAN_AND_MEAN 85 #define WIN32_LEAN_AND_MEAN 1 89 #if defined(__VXWORKS__) || defined(__vxworks) || defined(OS_VXWORKS) 90 #define RESTRICT __restrict__ 93 #if LINUX+0 && (defined(HAVE_SENDFILE64) || defined(HAVE_LSEEK64)) && ! defined(_LARGEFILE64_SOURCE) 95 #define _LARGEFILE64_SOURCE 1 98 #ifdef HAVE_C11_GMTIME_S 100 #define __STDC_WANT_LIB_EXT1__ 1 103 #if defined(MHD_FAVOR_FAST_CODE) && defined(MHD_FAVOR_SMALL_CODE) 104 #error MHD_FAVOR_FAST_CODE and MHD_FAVOR_SMALL_CODE are both defined. Cannot favor speed and size at the same time. 109 #if !defined(MHD_FAVOR_FAST_CODE) && !defined(MHD_FAVOR_SMALL_CODE) 112 #ifdef __OPTIMIZE_SIZE__ 113 #define MHD_FAVOR_SMALL_CODE 1 115 #define MHD_FAVOR_FAST_CODE 1 119 #if !defined(MHD_FAVOR_FAST_CODE) && !defined(MHD_FAVOR_SMALL_CODE) 121 #define MHD_FAVOR_FAST_CODE 1