Home | History | Annotate | Download | only in VS2013
      1 /* MHD_config.h for W32 */
      2 /* Created manually. */
      3 
      4 /* *** Basic OS/compiler information *** */
      5 
      6 /* This is a Windows system */
      7 #define WINDOWS 1
      8 
      9 /* Define if MS VC compiler is used */
     10 #define MSVC 1
     11 
     12 /* *** MHD configuration *** */
     13 /* Undef to disable feature */
     14 
     15 /* Enable basic Auth support */
     16 #define BAUTH_SUPPORT 1
     17 
     18 /* Enable digest Auth support */
     19 #define DAUTH_SUPPORT 1
     20 
     21 /* Enable postprocessor.c */
     22 #define HAVE_POSTPROCESSOR 1
     23 
     24 /* Enable error messages */
     25 #define HAVE_MESSAGES 1
     26 
     27 /* Disable HTTPS support */
     28 #define HTTPS_SUPPORT 0
     29 
     30 
     31 /* *** OS features *** */
     32 
     33 /* Provides IPv6 headers */
     34 #define HAVE_INET6 1
     35 
     36 /* Define to use pair of sockets instead of pipes for signaling */
     37 #define MHD_DONT_USE_PIPES 1
     38 
     39 /* define to use W32 threads */
     40 #define MHD_USE_W32_THREADS 1
     41 
     42 #ifndef _WIN32_WINNT
     43 /* MHD supports Windows XP and later W32 systems*/
     44 #define _WIN32_WINNT 0x0501
     45 #endif /* _WIN32_WINNT */
     46 
     47 /* winsock poll is available only on Vista and later */
     48 #if _WIN32_WINNT >= 0x0600
     49 #define HAVE_POLL 1
     50 #endif /* _WIN32_WINNT >= 0x0600 */
     51 
     52 /* define to 0 to disable epoll support */
     53 #define EPOLL_SUPPORT 0
     54 
     55 /* Define to 1 if you have the <winsock2.h> header file. */
     56 #define HAVE_WINSOCK2_H 1
     57 
     58 /* Define to 1 if you have the <ws2tcpip.h> header file. */
     59 #define HAVE_WS2TCPIP_H 1
     60 
     61 /* Define to 1 if you have the declaration of `SOCK_NONBLOCK', and to 0 if you
     62    don't. */
     63 #define HAVE_DECL_SOCK_NONBLOCK 0
     64 
     65 /* Define to 1 if you have the declaration of `TCP_CORK', and to 0 if you
     66    don't. */
     67 #define HAVE_DECL_TCP_CORK 0
     68 
     69 /* Define to 1 if you have the declaration of `TCP_NOPUSH', and to 0 if you
     70    don't. */
     71 #define HAVE_DECL_TCP_NOPUSH 0
     72 
     73 
     74 /* *** Headers information *** */
     75 /* Not really important as not used by code currently */
     76 
     77 /* Define to 1 if you have the <errno.h> header file. */
     78 #define HAVE_ERRNO_H 1
     79 
     80 /* Define to 1 if you have the <fcntl.h> header file. */
     81 #define HAVE_FCNTL_H 1
     82 
     83 /* Define to 1 if you have the <inttypes.h> header file. */
     84 #define HAVE_INTTYPES_H 1
     85 
     86 /* Define to 1 if you have the <limits.h> header file. */
     87 #define HAVE_LIMITS_H 1
     88 
     89 /* Define to 1 if you have the <locale.h> header file. */
     90 #define HAVE_LOCALE_H 1
     91 
     92 /* Define to 1 if you have the <math.h> header file. */
     93 #define HAVE_MATH_H 1
     94 
     95 /* Define to 1 if you have the <memory.h> header file. */
     96 #define HAVE_MEMORY_H 1
     97 
     98 /* Define to 1 if you have the <pthread.h> header file. */
     99 #define HAVE_PTHREAD_H 0
    100 
    101 /* Define to 1 if you have the <stdint.h> header file. */
    102 #define HAVE_STDINT_H 1
    103 
    104 /* Define to 1 if you have the <stdio.h> header file. */
    105 #define HAVE_STDIO_H 1
    106 
    107 /* Define to 1 if you have the <stdlib.h> header file. */
    108 #define HAVE_STDLIB_H 1
    109 
    110 /* Define to 1 if you have the <strings.h> header file. */
    111 #define HAVE_STRINGS_H 1
    112 
    113 /* Define to 1 if you have the <string.h> header file. */
    114 #define HAVE_STRING_H 1
    115 
    116 /* Define to 1 if you have the <sys/stat.h> header file. */
    117 #define HAVE_SYS_STAT_H 1
    118 
    119 /* Define to 1 if you have the <sys/types.h> header file. */
    120 #define HAVE_SYS_TYPES_H 1
    121 
    122 /* Define to 1 if you have the <time.h> header file. */
    123 #define HAVE_TIME_H 1
    124 
    125 
    126 /* *** Other useful staff *** */
    127 
    128 #define _GNU_SOURCE  1
    129 
    130 /* Define to 1 if you have the ANSI C header files. */
    131 #define STDC_HEADERS 1
    132 
    133 
    134 /* End of MHD_config.h */
    135