config-win32.h 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. /* config.h. Generated automatically by configure. */
  2. /* config.h.in. Generated automatically from configure.in by autoheader. */
  3. #ifndef __CONFIG_WIN32_H
  4. #define __CONFIG_WIN32_H
  5. /* Define if on AIX 3.
  6. System headers sometimes define this.
  7. We just want to avoid a redefinition error message. */
  8. #ifndef _ALL_SOURCE
  9. /* #undef _ALL_SOURCE */
  10. #endif
  11. /* Define to empty if the keyword does not work. */
  12. /* #undef const */
  13. /* Define if you don't have vprintf but do have _doprnt. */
  14. /* #undef HAVE_DOPRNT */
  15. /* Define if you have the vprintf function. */
  16. #define HAVE_VPRINTF 1
  17. /* Define as the return type of signal handlers (int or void). */
  18. /*#define RETSIGTYPE void */
  19. /* Define to `unsigned' if <sys/types.h> doesn't define. */
  20. /* #undef size_t */
  21. /* Define this to 'int' if ssize_t is not an available typedefed type */
  22. #define ssize_t int
  23. /* Define this to 'int' if socklen_t is not an available typedefed type */
  24. #if !defined(ENABLE_IPV6) && ((_MSC_VER < 1300) || !defined(USE_SSLEAY))
  25. #define socklen_t int
  26. #endif
  27. /* The size of a `curl_off_t', as computed by sizeof. */
  28. #ifdef SIZEOF_CURL_OFF_T
  29. #undef SIZEOF_CURL_OFF_T
  30. #endif
  31. /* Borland lacks _lseeki64(), so we don't support >2GB files */
  32. #ifdef __BORLANDC__
  33. #define SIZEOF_CURL_OFF_T 4
  34. #else
  35. #define SIZEOF_CURL_OFF_T 8
  36. #endif
  37. /* Define if you have the ANSI C header files. */
  38. #define STDC_HEADERS 1
  39. /* Define if you can safely include both <sys/time.h> and <time.h>. */
  40. /* #define TIME_WITH_SYS_TIME 1 */
  41. /* Define cpu-machine-OS */
  42. #define OS "i386-pc-win32"
  43. /* The number of bytes in a long double. */
  44. #define SIZEOF_LONG_DOUBLE 16
  45. /* The number of bytes in a long long. */
  46. /* #define SIZEOF_LONG_LONG 8 */
  47. /* Define if you have the gethostbyaddr function. */
  48. #define HAVE_GETHOSTBYADDR 1
  49. /* Define if you have the gethostname function. */
  50. #define HAVE_GETHOSTNAME 1
  51. /* Define if you have the getpass function. */
  52. /*#define HAVE_GETPASS 1*/
  53. /* Define if you have the getservbyname function. */
  54. #define HAVE_GETSERVBYNAME 1
  55. /* Define if you have the gettimeofday function. */
  56. /* #define HAVE_GETTIMEOFDAY 1 */
  57. /* Define if you have the inet_addr function. */
  58. #define HAVE_INET_ADDR 1
  59. /* Define if you have the inet_ntoa function. */
  60. #define HAVE_INET_NTOA 1
  61. /* Define if you have the perror function. */
  62. #define HAVE_PERROR 1
  63. /* Define if you have the select function. */
  64. #define HAVE_SELECT 1
  65. /* Define if you have the socket function. */
  66. #define HAVE_SOCKET 1
  67. /* Define if you have the strcasecmp function. */
  68. /*#define HAVE_STRCASECMP 1*/
  69. /* Define if you have the stricmp function. */
  70. #define HAVE_STRICMP 1
  71. /* Define if you have the strdup function. */
  72. #define HAVE_STRDUP 1
  73. /* Define if you have the strftime function. */
  74. #define HAVE_STRFTIME 1
  75. /* Define if you have the strstr function. */
  76. #define HAVE_STRSTR 1
  77. /* Define if you have the strtoll function. */
  78. #if defined(__MINGW32__) || defined(__WATCOMC__)
  79. #define HAVE_STRTOLL 1
  80. #endif
  81. /* Define if you have the tcgetattr function. */
  82. /*#define HAVE_TCGETATTR 1*/
  83. /* Define if you have the tcsetattr function. */
  84. /*#define HAVE_TCSETATTR 1*/
  85. /* Define if you have the uname function. */
  86. /*#define HAVE_UNAME 1*/
  87. /* Define if you have utime() */
  88. #ifndef __BORLANDC__
  89. #define HAVE_UTIME 1
  90. #endif
  91. /* Define if you have the <alloca.h> header file. */
  92. /*#define HAVE_ALLOCA_H 1*/
  93. /* Define if you have the malloc.h file. */
  94. #define HAVE_MALLOC_H 1
  95. /* Define if you have the <arpa/inet.h> header file. */
  96. /* #define HAVE_ARPA_INET_H 1 */
  97. /* Define if you have the <assert.h> header file. */
  98. #define HAVE_ASSERT_H 1
  99. /* Define if you have the <crypto.h> header file. */
  100. /* #undef HAVE_CRYPTO_H */
  101. /* Define if you have the <dlfcn.h> header file. */
  102. /*#define HAVE_DLFCN_H 1*/
  103. /* Define if you have the <err.h> header file. */
  104. /* #undef HAVE_ERR_H */
  105. /* Define if you have the <fcntl.h> header file. */
  106. #define HAVE_FCNTL_H 1
  107. /* Define if you have the <getopt.h> header file. */
  108. /* #undef HAVE_GETOPT_H */
  109. /* Define if you have the <netdb.h> header file. */
  110. /* #define HAVE_NETDB_H 1 */
  111. /* Define if you have the <netinet/in.h> header file. */
  112. /*#define HAVE_NETINET_IN_H 1*/
  113. /* Define if you have the <sgtty.h> header file. */
  114. /*#define HAVE_SGTTY_H 1*/
  115. /* Define if you have the <ssl.h> header file. */
  116. /* #undef HAVE_SSL_H */
  117. /* Define if you have the <sys/param.h> header file. */
  118. /*#define HAVE_SYS_PARAM_H 1*/
  119. /* Define if you have the <sys/select.h> header file. */
  120. /* #define HAVE_SYS_SELECT_H 1 */
  121. /* Define if you have the <sys/socket.h> header file. */
  122. /*#define HAVE_SYS_SOCKET_H 1*/
  123. /* Define if you have the <sys/sockio.h> header file. */
  124. /* #define HAVE_SYS_SOCKIO_H 1 */
  125. /* Define if you have the <sys/stat.h> header file. */
  126. #define HAVE_SYS_STAT_H 1
  127. /* Define if you have the <sys/utime.h> header file */
  128. #ifndef __BORLANDC__
  129. #define HAVE_SYS_UTIME_H 1
  130. #endif
  131. /* Define if you have the <sys/types.h> header file. */
  132. #define HAVE_SYS_TYPES_H 1
  133. /* Define if you have the <termio.h> header file. */
  134. /* #define HAVE_TERMIO_H 1 */
  135. /* Define if you have the <termios.h> header file. */
  136. /* #define HAVE_TERMIOS_H 1 */
  137. /* Name of package */
  138. #define PACKAGE "curl"
  139. /* Define if you have the <io.h> header file. */
  140. #define HAVE_IO_H 1
  141. /* Define if you have the <time.h> header file. */
  142. #define HAVE_TIME_H 1
  143. /* Define if you have the <winsock.h> header file. */
  144. #define HAVE_WINSOCK_H 1
  145. /* Define if you have the <winsock2.h> header file. */
  146. #define HAVE_WINSOCK2_H 1
  147. /* Define if you have the <ws2tcpip.h> header file. */
  148. #define HAVE_WS2TCPIP_H 1
  149. /* Define if you have the <stdlib.h> header file. */
  150. #define HAVE_STDLIB_H 1
  151. /* Define if you have the closesocket function. */
  152. #define HAVE_CLOSESOCKET 1
  153. /* Define if you have the setvbuf function. */
  154. #define HAVE_SETVBUF 1
  155. /* Define if you have the RAND_screen function when using SSL */
  156. #define HAVE_RAND_SCREEN 1
  157. /* Define if you have the `RAND_status' function. */
  158. #define HAVE_RAND_STATUS 1
  159. /* Define this to if in_addr_t is not an available typedefed type */
  160. #define in_addr_t unsigned long
  161. /* use ioctlsocket() for non-blocking sockets */
  162. #define HAVE_IOCTLSOCKET
  163. /* lber dynamic library file */
  164. /* #undef DL_LBER_FILE */
  165. /* Defines set for VS2005 to _not_ deprecate a few functions we use. */
  166. #define _CRT_SECURE_NO_DEPRECATE
  167. #define _CRT_NONSTDC_NO_DEPRECATE
  168. /* ldap dynamic library file */
  169. #define DL_LDAP_FILE "wldap32.dll"
  170. /*************************************************
  171. * This section is for compiler specific defines.*
  172. *************************************************/
  173. /* Borland and MS don't have this */
  174. #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
  175. /* Define if you have the <unistd.h> header file. */
  176. #define HAVE_UNISTD_H 1
  177. #else
  178. #endif
  179. #endif