config-win32.h
Go to the documentation of this file.
00001 #ifndef HEADER_CURL_CONFIG_WIN32_H
00002 #define HEADER_CURL_CONFIG_WIN32_H
00003 /***************************************************************************
00004  *                                  _   _ ____  _
00005  *  Project                     ___| | | |  _ \| |
00006  *                             / __| | | | |_) | |
00007  *                            | (__| |_| |  _ <| |___
00008  *                             \___|\___/|_| \_\_____|
00009  *
00010  * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
00011  *
00012  * This software is licensed as described in the file COPYING, which
00013  * you should have received as part of this distribution. The terms
00014  * are also available at https://curl.haxx.se/docs/copyright.html.
00015  *
00016  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
00017  * copies of the Software, and permit persons to whom the Software is
00018  * furnished to do so, under the terms of the COPYING file.
00019  *
00020  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
00021  * KIND, either express or implied.
00022  *
00023  ***************************************************************************/
00024 
00025 /* ================================================================ */
00026 /*               Hand crafted config file for Windows               */
00027 /* ================================================================ */
00028 
00029 /* ---------------------------------------------------------------- */
00030 /*                          HEADER FILES                            */
00031 /* ---------------------------------------------------------------- */
00032 
00033 /* Define if you have the <arpa/inet.h> header file. */
00034 /* #define HAVE_ARPA_INET_H 1 */
00035 
00036 /* Define if you have the <assert.h> header file. */
00037 #define HAVE_ASSERT_H 1
00038 
00039 /* Define if you have the <crypto.h> header file. */
00040 /* #define HAVE_CRYPTO_H 1 */
00041 
00042 /* Define if you have the <errno.h> header file. */
00043 #define HAVE_ERRNO_H 1
00044 
00045 /* Define if you have the <err.h> header file. */
00046 /* #define HAVE_ERR_H 1 */
00047 
00048 /* Define if you have the <fcntl.h> header file. */
00049 #define HAVE_FCNTL_H 1
00050 
00051 /* Define if you have the <getopt.h> header file. */
00052 #if defined(__MINGW32__) || defined(__POCC__)
00053 #define HAVE_GETOPT_H 1
00054 #endif
00055 
00056 /* Define to 1 if you have the <inttypes.h> header file. */
00057 #if defined(_MSC_VER) && (_MSC_VER >= 1800)
00058 #define HAVE_INTTYPES_H 1
00059 #endif
00060 
00061 /* Define if you have the <io.h> header file. */
00062 #define HAVE_IO_H 1
00063 
00064 /* Define if you have the <limits.h> header file. */
00065 #define HAVE_LIMITS_H 1
00066 
00067 /* Define if you have the <locale.h> header file. */
00068 #define HAVE_LOCALE_H 1
00069 
00070 /* Define if you need <malloc.h> header even with <stdlib.h> header file. */
00071 #if !defined(__SALFORDC__) && !defined(__POCC__)
00072 #define NEED_MALLOC_H 1
00073 #endif
00074 
00075 /* Define if you have the <netdb.h> header file. */
00076 /* #define HAVE_NETDB_H 1 */
00077 
00078 /* Define if you have the <netinet/in.h> header file. */
00079 /* #define HAVE_NETINET_IN_H 1 */
00080 
00081 /* Define if you have the <process.h> header file. */
00082 #ifndef __SALFORDC__
00083 #define HAVE_PROCESS_H 1
00084 #endif
00085 
00086 /* Define if you have the <signal.h> header file. */
00087 #define HAVE_SIGNAL_H 1
00088 
00089 /* Define if you have the <sgtty.h> header file. */
00090 /* #define HAVE_SGTTY_H 1 */
00091 
00092 /* Define if you have the <ssl.h> header file. */
00093 /* #define HAVE_SSL_H 1 */
00094 
00095 /* Define to 1 if you have the <stdbool.h> header file. */
00096 #if defined(_MSC_VER) && (_MSC_VER >= 1800)
00097 #define HAVE_STDBOOL_H 1
00098 #endif
00099 
00100 /* Define if you have the <stdlib.h> header file. */
00101 #define HAVE_STDLIB_H 1
00102 
00103 /* Define if you have the <sys/param.h> header file. */
00104 /* #define HAVE_SYS_PARAM_H 1 */
00105 
00106 /* Define if you have the <sys/select.h> header file. */
00107 /* #define HAVE_SYS_SELECT_H 1 */
00108 
00109 /* Define if you have the <sys/socket.h> header file. */
00110 /* #define HAVE_SYS_SOCKET_H 1 */
00111 
00112 /* Define if you have the <sys/sockio.h> header file. */
00113 /* #define HAVE_SYS_SOCKIO_H 1 */
00114 
00115 /* Define if you have the <sys/stat.h> header file. */
00116 #define HAVE_SYS_STAT_H 1
00117 
00118 /* Define if you have the <sys/time.h> header file. */
00119 /* #define HAVE_SYS_TIME_H 1 */
00120 
00121 /* Define if you have the <sys/types.h> header file. */
00122 #define HAVE_SYS_TYPES_H 1
00123 
00124 /* Define if you have the <sys/utime.h> header file. */
00125 #ifndef __BORLANDC__
00126 #define HAVE_SYS_UTIME_H 1
00127 #endif
00128 
00129 /* Define if you have the <termio.h> header file. */
00130 /* #define HAVE_TERMIO_H 1 */
00131 
00132 /* Define if you have the <termios.h> header file. */
00133 /* #define HAVE_TERMIOS_H 1 */
00134 
00135 /* Define if you have the <time.h> header file. */
00136 #define HAVE_TIME_H 1
00137 
00138 /* Define if you have the <unistd.h> header file. */
00139 #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__) || \
00140     defined(__POCC__)
00141 #define HAVE_UNISTD_H 1
00142 #endif
00143 
00144 /* Define if you have the <windows.h> header file. */
00145 #define HAVE_WINDOWS_H 1
00146 
00147 /* Define if you have the <winsock.h> header file. */
00148 #define HAVE_WINSOCK_H 1
00149 
00150 /* Define if you have the <winsock2.h> header file. */
00151 #ifndef __SALFORDC__
00152 #define HAVE_WINSOCK2_H 1
00153 #endif
00154 
00155 /* Define if you have the <ws2tcpip.h> header file. */
00156 #ifndef __SALFORDC__
00157 #define HAVE_WS2TCPIP_H 1
00158 #endif
00159 
00160 /* ---------------------------------------------------------------- */
00161 /*                        OTHER HEADER INFO                         */
00162 /* ---------------------------------------------------------------- */
00163 
00164 /* Define if sig_atomic_t is an available typedef. */
00165 #define HAVE_SIG_ATOMIC_T 1
00166 
00167 /* Define if you have the ANSI C header files. */
00168 #define STDC_HEADERS 1
00169 
00170 /* Define if you can safely include both <sys/time.h> and <time.h>. */
00171 /* #define TIME_WITH_SYS_TIME 1 */
00172 
00173 /* Define to 1 if bool is an available type. */
00174 #if defined(_MSC_VER) && (_MSC_VER >= 1800)
00175 #define HAVE_BOOL_T 1
00176 #endif
00177 
00178 /* ---------------------------------------------------------------- */
00179 /*                             FUNCTIONS                            */
00180 /* ---------------------------------------------------------------- */
00181 
00182 /* Define if you have the closesocket function. */
00183 #define HAVE_CLOSESOCKET 1
00184 
00185 /* Define if you don't have vprintf but do have _doprnt. */
00186 /* #define HAVE_DOPRNT 1 */
00187 
00188 /* Define if you have the ftruncate function. */
00189 #define HAVE_FTRUNCATE 1
00190 
00191 /* Define if you have the gethostbyaddr function. */
00192 #define HAVE_GETHOSTBYADDR 1
00193 
00194 /* Define if you have the gethostname function. */
00195 #define HAVE_GETHOSTNAME 1
00196 
00197 /* Define if you have the getpass function. */
00198 /* #define HAVE_GETPASS 1 */
00199 
00200 /* Define if you have the getservbyname function. */
00201 #define HAVE_GETSERVBYNAME 1
00202 
00203 /* Define if you have the getprotobyname function. */
00204 #define HAVE_GETPROTOBYNAME
00205 
00206 /* Define if you have the gettimeofday function. */
00207 /* #define HAVE_GETTIMEOFDAY 1 */
00208 
00209 /* Define if you have the inet_addr function. */
00210 #define HAVE_INET_ADDR 1
00211 
00212 /* Define if you have the ioctlsocket function. */
00213 #define HAVE_IOCTLSOCKET 1
00214 
00215 /* Define if you have a working ioctlsocket FIONBIO function. */
00216 #define HAVE_IOCTLSOCKET_FIONBIO 1
00217 
00218 /* Define if you have the perror function. */
00219 #define HAVE_PERROR 1
00220 
00221 /* Define if you have the RAND_screen function when using SSL. */
00222 #define HAVE_RAND_SCREEN 1
00223 
00224 /* Define if you have the `RAND_status' function when using SSL. */
00225 #define HAVE_RAND_STATUS 1
00226 
00227 /* Define if you have the `CRYPTO_cleanup_all_ex_data' function.
00228    This is present in OpenSSL versions after 0.9.6b */
00229 #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
00230 
00231 /* Define if you have the select function. */
00232 #define HAVE_SELECT 1
00233 
00234 /* Define if you have the setlocale function. */
00235 #define HAVE_SETLOCALE 1
00236 
00237 /* Define if you have the setmode function. */
00238 #define HAVE_SETMODE 1
00239 
00240 /* Define if you have the setvbuf function. */
00241 #define HAVE_SETVBUF 1
00242 
00243 /* Define if you have the socket function. */
00244 #define HAVE_SOCKET 1
00245 
00246 /* Define if you have the strcasecmp function. */
00247 /* #define HAVE_STRCASECMP 1 */
00248 
00249 /* Define if you have the strdup function. */
00250 #define HAVE_STRDUP 1
00251 
00252 /* Define if you have the strftime function. */
00253 #define HAVE_STRFTIME 1
00254 
00255 /* Define if you have the stricmp function. */
00256 #define HAVE_STRICMP 1
00257 
00258 /* Define if you have the strncasecmp function. */
00259 /* #define HAVE_STRNCASECMP 1 */
00260 
00261 /* Define if you have the strnicmp function. */
00262 #define HAVE_STRNICMP 1
00263 
00264 /* Define if you have the strstr function. */
00265 #define HAVE_STRSTR 1
00266 
00267 /* Define if you have the strtoll function. */
00268 #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__POCC__) || \
00269     (defined(_MSC_VER) && (_MSC_VER >= 1800))
00270 #define HAVE_STRTOLL 1
00271 #endif
00272 
00273 /* Define if you have the tcgetattr function. */
00274 /* #define HAVE_TCGETATTR 1 */
00275 
00276 /* Define if you have the tcsetattr function. */
00277 /* #define HAVE_TCSETATTR 1 */
00278 
00279 /* Define if you have the utime function. */
00280 #ifndef __BORLANDC__
00281 #define HAVE_UTIME 1
00282 #endif
00283 
00284 /* Define to the type qualifier of arg 1 for getnameinfo. */
00285 #define GETNAMEINFO_QUAL_ARG1 const
00286 
00287 /* Define to the type of arg 1 for getnameinfo. */
00288 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
00289 
00290 /* Define to the type of arg 2 for getnameinfo. */
00291 #define GETNAMEINFO_TYPE_ARG2 socklen_t
00292 
00293 /* Define to the type of args 4 and 6 for getnameinfo. */
00294 #define GETNAMEINFO_TYPE_ARG46 DWORD
00295 
00296 /* Define to the type of arg 7 for getnameinfo. */
00297 #define GETNAMEINFO_TYPE_ARG7 int
00298 
00299 /* Define if you have the recv function. */
00300 #define HAVE_RECV 1
00301 
00302 /* Define to the type of arg 1 for recv. */
00303 #define RECV_TYPE_ARG1 SOCKET
00304 
00305 /* Define to the type of arg 2 for recv. */
00306 #define RECV_TYPE_ARG2 char *
00307 
00308 /* Define to the type of arg 3 for recv. */
00309 #define RECV_TYPE_ARG3 int
00310 
00311 /* Define to the type of arg 4 for recv. */
00312 #define RECV_TYPE_ARG4 int
00313 
00314 /* Define to the function return type for recv. */
00315 #define RECV_TYPE_RETV int
00316 
00317 /* Define if you have the recvfrom function. */
00318 #define HAVE_RECVFROM 1
00319 
00320 /* Define to the type of arg 1 for recvfrom. */
00321 #define RECVFROM_TYPE_ARG1 SOCKET
00322 
00323 /* Define to the type pointed by arg 2 for recvfrom. */
00324 #define RECVFROM_TYPE_ARG2 char
00325 
00326 /* Define to the type of arg 3 for recvfrom. */
00327 #define RECVFROM_TYPE_ARG3 int
00328 
00329 /* Define to the type of arg 4 for recvfrom. */
00330 #define RECVFROM_TYPE_ARG4 int
00331 
00332 /* Define to the type pointed by arg 5 for recvfrom. */
00333 #define RECVFROM_TYPE_ARG5 struct sockaddr
00334 
00335 /* Define to the type pointed by arg 6 for recvfrom. */
00336 #define RECVFROM_TYPE_ARG6 int
00337 
00338 /* Define to the function return type for recvfrom. */
00339 #define RECVFROM_TYPE_RETV int
00340 
00341 /* Define if you have the send function. */
00342 #define HAVE_SEND 1
00343 
00344 /* Define to the type of arg 1 for send. */
00345 #define SEND_TYPE_ARG1 SOCKET
00346 
00347 /* Define to the type qualifier of arg 2 for send. */
00348 #define SEND_QUAL_ARG2 const
00349 
00350 /* Define to the type of arg 2 for send. */
00351 #define SEND_TYPE_ARG2 char *
00352 
00353 /* Define to the type of arg 3 for send. */
00354 #define SEND_TYPE_ARG3 int
00355 
00356 /* Define to the type of arg 4 for send. */
00357 #define SEND_TYPE_ARG4 int
00358 
00359 /* Define to the function return type for send. */
00360 #define SEND_TYPE_RETV int
00361 
00362 /* ---------------------------------------------------------------- */
00363 /*                       TYPEDEF REPLACEMENTS                       */
00364 /* ---------------------------------------------------------------- */
00365 
00366 /* Define if in_addr_t is not an available 'typedefed' type. */
00367 #define in_addr_t unsigned long
00368 
00369 /* Define to the return type of signal handlers (int or void). */
00370 #define RETSIGTYPE void
00371 
00372 /* Define if ssize_t is not an available 'typedefed' type. */
00373 #ifndef _SSIZE_T_DEFINED
00374 #  if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || \
00375       defined(__POCC__) || \
00376       defined(__MINGW32__)
00377 #  elif defined(_WIN64)
00378 #    define _SSIZE_T_DEFINED
00379 #    define ssize_t __int64
00380 #  else
00381 #    define _SSIZE_T_DEFINED
00382 #    define ssize_t int
00383 #  endif
00384 #endif
00385 
00386 /* ---------------------------------------------------------------- */
00387 /*                            TYPE SIZES                            */
00388 /* ---------------------------------------------------------------- */
00389 
00390 /* Define to the size of `int', as computed by sizeof. */
00391 #define SIZEOF_INT 4
00392 
00393 /* Define to the size of `long double', as computed by sizeof. */
00394 #define SIZEOF_LONG_DOUBLE 16
00395 
00396 /* Define to the size of `long long', as computed by sizeof. */
00397 /* #define SIZEOF_LONG_LONG 8 */
00398 
00399 /* Define to the size of `short', as computed by sizeof. */
00400 #define SIZEOF_SHORT 2
00401 
00402 /* Define to the size of `size_t', as computed by sizeof. */
00403 #if defined(_WIN64)
00404 #  define SIZEOF_SIZE_T 8
00405 #else
00406 #  define SIZEOF_SIZE_T 4
00407 #endif
00408 
00409 /* ---------------------------------------------------------------- */
00410 /*               BSD-style lwIP TCP/IP stack SPECIFIC               */
00411 /* ---------------------------------------------------------------- */
00412 
00413 /* Define to use BSD-style lwIP TCP/IP stack. */
00414 /* #define USE_LWIPSOCK 1 */
00415 
00416 #ifdef USE_LWIPSOCK
00417 #  undef USE_WINSOCK
00418 #  undef HAVE_WINSOCK_H
00419 #  undef HAVE_WINSOCK2_H
00420 #  undef HAVE_WS2TCPIP_H
00421 #  undef HAVE_ERRNO_H
00422 #  undef HAVE_GETHOSTNAME
00423 #  undef HAVE_GETNAMEINFO
00424 #  undef LWIP_POSIX_SOCKETS_IO_NAMES
00425 #  undef RECV_TYPE_ARG1
00426 #  undef RECV_TYPE_ARG3
00427 #  undef SEND_TYPE_ARG1
00428 #  undef SEND_TYPE_ARG3
00429 #  define HAVE_FREEADDRINFO
00430 #  define HAVE_GETADDRINFO
00431 #  define HAVE_GETHOSTBYNAME
00432 #  define HAVE_GETHOSTBYNAME_R
00433 #  define HAVE_GETHOSTBYNAME_R_6
00434 #  define LWIP_POSIX_SOCKETS_IO_NAMES 0
00435 #  define RECV_TYPE_ARG1 int
00436 #  define RECV_TYPE_ARG3 size_t
00437 #  define SEND_TYPE_ARG1 int
00438 #  define SEND_TYPE_ARG3 size_t
00439 #endif
00440 
00441 /* ---------------------------------------------------------------- */
00442 /*                        Watt-32 tcp/ip SPECIFIC                   */
00443 /* ---------------------------------------------------------------- */
00444 
00445 #ifdef USE_WATT32
00446   #include <tcp.h>
00447   #undef byte
00448   #undef word
00449   #undef USE_WINSOCK
00450   #undef HAVE_WINSOCK_H
00451   #undef HAVE_WINSOCK2_H
00452   #undef HAVE_WS2TCPIP_H
00453   #define HAVE_GETADDRINFO
00454   #define HAVE_GETNAMEINFO
00455   #define HAVE_SYS_IOCTL_H
00456   #define HAVE_SYS_SOCKET_H
00457   #define HAVE_NETINET_IN_H
00458   #define HAVE_NETDB_H
00459   #define HAVE_ARPA_INET_H
00460   #define HAVE_FREEADDRINFO
00461   #define SOCKET int
00462 #endif
00463 
00464 
00465 /* ---------------------------------------------------------------- */
00466 /*                        COMPILER SPECIFIC                         */
00467 /* ---------------------------------------------------------------- */
00468 
00469 /* Define to nothing if compiler does not support 'const' qualifier. */
00470 /* #define const */
00471 
00472 /* Define to nothing if compiler does not support 'volatile' qualifier. */
00473 /* #define volatile */
00474 
00475 /* Windows should not have HAVE_GMTIME_R defined */
00476 /* #undef HAVE_GMTIME_R */
00477 
00478 /* Define if the compiler supports C99 variadic macro style. */
00479 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
00480 #define HAVE_VARIADIC_MACROS_C99 1
00481 #endif
00482 
00483 /* Define if the compiler supports the 'long long' data type. */
00484 #if defined(__MINGW32__) || defined(__WATCOMC__)      || \
00485     (defined(_MSC_VER)     && (_MSC_VER     >= 1310)) || \
00486     (defined(__BORLANDC__) && (__BORLANDC__ >= 0x561))
00487 #define HAVE_LONGLONG 1
00488 #endif
00489 
00490 /* Define to avoid VS2005 complaining about portable C functions. */
00491 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
00492 #define _CRT_SECURE_NO_DEPRECATE 1
00493 #define _CRT_NONSTDC_NO_DEPRECATE 1
00494 #endif
00495 
00496 /* VS2005 and later dafault size for time_t is 64-bit, unless
00497    _USE_32BIT_TIME_T has been defined to get a 32-bit time_t. */
00498 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
00499 #  ifndef _USE_32BIT_TIME_T
00500 #    define SIZEOF_TIME_T 8
00501 #  else
00502 #    define SIZEOF_TIME_T 4
00503 #  endif
00504 #endif
00505 
00506 /* Define some minimum and default build targets for Visual Studio */
00507 #if defined(_MSC_VER)
00508    /* Officially, Microsoft's Windows SDK versions 6.X does not support Windows
00509       2000 as a supported build target. VS2008 default installations provides
00510       an embedded Windows SDK v6.0A along with the claim that Windows 2000 is a
00511       valid build target for VS2008. Popular belief is that binaries built with
00512       VS2008 using Windows SDK versions v6.X and Windows 2000 as a build target
00513       are functional. */
00514 #  define VS2008_MIN_TARGET 0x0500
00515 
00516    /* The minimum build target for VS2012 is Vista unless Update 1 is installed
00517       and the v110_xp toolset is choosen. */
00518 #  if defined(_USING_V110_SDK71_)
00519 #    define VS2012_MIN_TARGET 0x0501
00520 #  else
00521 #    define VS2012_MIN_TARGET 0x0600
00522 #  endif
00523 
00524    /* VS2008 default build target is Windows Vista. We override default target
00525       to be Windows XP. */
00526 #  define VS2008_DEF_TARGET 0x0501
00527 
00528    /* VS2012 default build target is Windows Vista unless Update 1 is installed
00529       and the v110_xp toolset is choosen. */
00530 #  if defined(_USING_V110_SDK71_)
00531 #    define VS2012_DEF_TARGET 0x0501
00532 #  else
00533 #    define VS2012_DEF_TARGET 0x0600
00534 #  endif
00535 #endif
00536 
00537 /* VS2008 default target settings and minimum build target check. */
00538 #if defined(_MSC_VER) && (_MSC_VER >= 1500) && (_MSC_VER <= 1600)
00539 #  ifndef _WIN32_WINNT
00540 #    define _WIN32_WINNT VS2008_DEF_TARGET
00541 #  endif
00542 #  ifndef WINVER
00543 #    define WINVER VS2008_DEF_TARGET
00544 #  endif
00545 #  if (_WIN32_WINNT < VS2008_MIN_TARGET) || (WINVER < VS2008_MIN_TARGET)
00546 #    error VS2008 does not support Windows build targets prior to Windows 2000
00547 #  endif
00548 #endif
00549 
00550 /* VS2012 default target settings and minimum build target check. */
00551 #if defined(_MSC_VER) && (_MSC_VER >= 1700)
00552 #  ifndef _WIN32_WINNT
00553 #    define _WIN32_WINNT VS2012_DEF_TARGET
00554 #  endif
00555 #  ifndef WINVER
00556 #    define WINVER VS2012_DEF_TARGET
00557 #  endif
00558 #  if (_WIN32_WINNT < VS2012_MIN_TARGET) || (WINVER < VS2012_MIN_TARGET)
00559 #    if defined(_USING_V110_SDK71_)
00560 #      error VS2012 does not support Windows build targets prior to Windows XP
00561 #    else
00562 #      error VS2012 does not support Windows build targets prior to Windows \
00563 Vista
00564 #    endif
00565 #  endif
00566 #endif
00567 
00568 /* When no build target is specified Pelles C 5.00 and later default build
00569    target is Windows Vista. We override default target to be Windows 2000. */
00570 #if defined(__POCC__) && (__POCC__ >= 500)
00571 #  ifndef _WIN32_WINNT
00572 #    define _WIN32_WINNT 0x0500
00573 #  endif
00574 #  ifndef WINVER
00575 #    define WINVER 0x0500
00576 #  endif
00577 #endif
00578 
00579 /* Availability of freeaddrinfo, getaddrinfo and getnameinfo functions is
00580    quite convoluted, compiler dependent and even build target dependent. */
00581 #if defined(HAVE_WS2TCPIP_H)
00582 #  if defined(__POCC__)
00583 #    define HAVE_FREEADDRINFO           1
00584 #    define HAVE_GETADDRINFO            1
00585 #    define HAVE_GETADDRINFO_THREADSAFE 1
00586 #    define HAVE_GETNAMEINFO            1
00587 #  elif defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0501)
00588 #    define HAVE_FREEADDRINFO           1
00589 #    define HAVE_GETADDRINFO            1
00590 #    define HAVE_GETADDRINFO_THREADSAFE 1
00591 #    define HAVE_GETNAMEINFO            1
00592 #  elif defined(_MSC_VER) && (_MSC_VER >= 1200)
00593 #    define HAVE_FREEADDRINFO           1
00594 #    define HAVE_GETADDRINFO            1
00595 #    define HAVE_GETADDRINFO_THREADSAFE 1
00596 #    define HAVE_GETNAMEINFO            1
00597 #  endif
00598 #endif
00599 
00600 #if defined(__POCC__)
00601 #  ifndef _MSC_VER
00602 #    error Microsoft extensions /Ze compiler option is required
00603 #  endif
00604 #  ifndef __POCC__OLDNAMES
00605 #    error Compatibility names /Go compiler option is required
00606 #  endif
00607 #endif
00608 
00609 /* ---------------------------------------------------------------- */
00610 /*                          STRUCT RELATED                          */
00611 /* ---------------------------------------------------------------- */
00612 
00613 /* Define if you have struct sockaddr_storage. */
00614 #if !defined(__SALFORDC__) && !defined(__BORLANDC__)
00615 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
00616 #endif
00617 
00618 /* Define if you have struct timeval. */
00619 #define HAVE_STRUCT_TIMEVAL 1
00620 
00621 /* Define if struct sockaddr_in6 has the sin6_scope_id member. */
00622 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
00623 
00624 #if defined(HAVE_WINSOCK2_H) && defined(_WIN32_WINNT) && \
00625     (_WIN32_WINNT >= 0x0600)
00626 #define HAVE_STRUCT_POLLFD 1
00627 #endif
00628 
00629 /* ---------------------------------------------------------------- */
00630 /*                        LARGE FILE SUPPORT                        */
00631 /* ---------------------------------------------------------------- */
00632 
00633 #if defined(_MSC_VER) && !defined(_WIN32_WCE)
00634 #  if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
00635 #    define USE_WIN32_LARGE_FILES
00636 #  else
00637 #    define USE_WIN32_SMALL_FILES
00638 #  endif
00639 #endif
00640 
00641 #if defined(__MINGW32__) && !defined(USE_WIN32_LARGE_FILES)
00642 #  define USE_WIN32_LARGE_FILES
00643 #endif
00644 
00645 #if defined(__WATCOMC__) && !defined(USE_WIN32_LARGE_FILES)
00646 #  define USE_WIN32_LARGE_FILES
00647 #endif
00648 
00649 #if defined(__POCC__)
00650 #  undef USE_WIN32_LARGE_FILES
00651 #endif
00652 
00653 #if !defined(USE_WIN32_LARGE_FILES) && !defined(USE_WIN32_SMALL_FILES)
00654 #  define USE_WIN32_SMALL_FILES
00655 #endif
00656 
00657 /* ---------------------------------------------------------------- */
00658 /*                       DNS RESOLVER SPECIALTY                     */
00659 /* ---------------------------------------------------------------- */
00660 
00661 /*
00662  * Undefine both USE_ARES and USE_THREADS_WIN32 for synchronous DNS.
00663  */
00664 
00665 /* Define to enable c-ares asynchronous DNS lookups. */
00666 /* #define USE_ARES 1 */
00667 
00668 /* Default define to enable threaded asynchronous DNS lookups. */
00669 #if !defined(USE_SYNC_DNS) && !defined(USE_ARES) && \
00670     !defined(USE_THREADS_WIN32)
00671 #  define USE_THREADS_WIN32 1
00672 #endif
00673 
00674 #if defined(USE_ARES) && defined(USE_THREADS_WIN32)
00675 #  error "Only one DNS lookup specialty may be defined at most"
00676 #endif
00677 
00678 /* ---------------------------------------------------------------- */
00679 /*                           LDAP SUPPORT                           */
00680 /* ---------------------------------------------------------------- */
00681 
00682 #if defined(CURL_HAS_NOVELL_LDAPSDK) || defined(CURL_HAS_MOZILLA_LDAPSDK)
00683 #undef USE_WIN32_LDAP
00684 #define HAVE_LDAP_SSL_H 1
00685 #define HAVE_LDAP_URL_PARSE 1
00686 #elif defined(CURL_HAS_OPENLDAP_LDAPSDK)
00687 #undef USE_WIN32_LDAP
00688 #define HAVE_LDAP_URL_PARSE 1
00689 #else
00690 #undef HAVE_LDAP_URL_PARSE
00691 #define USE_WIN32_LDAP 1
00692 #endif
00693 
00694 #if defined(__WATCOMC__) && defined(USE_WIN32_LDAP)
00695 #if __WATCOMC__ < 1280
00696 #define WINBERAPI  __declspec(cdecl)
00697 #define WINLDAPAPI __declspec(cdecl)
00698 #endif
00699 #endif
00700 
00701 #if defined(__POCC__) && defined(USE_WIN32_LDAP)
00702 #  define CURL_DISABLE_LDAP 1
00703 #endif
00704 
00705 /* Define to use the Windows crypto library. */
00706 #if !defined(USE_OPENSSL) && !defined(USE_NSS)
00707 #define USE_WIN32_CRYPTO
00708 #endif
00709 
00710 /* ---------------------------------------------------------------- */
00711 /*                       ADDITIONAL DEFINITIONS                     */
00712 /* ---------------------------------------------------------------- */
00713 
00714 /* Define cpu-machine-OS */
00715 #undef OS
00716 #if defined(_M_IX86) || defined(__i386__) /* x86 (MSVC or gcc) */
00717 #define OS "i386-pc-win32"
00718 #elif defined(_M_X64) || defined(__x86_64__) /* x86_64 (MSVC >=2005 or gcc) */
00719 #define OS "x86_64-pc-win32"
00720 #elif defined(_M_IA64) /* Itanium */
00721 #define OS "ia64-pc-win32"
00722 #else
00723 #define OS "unknown-pc-win32"
00724 #endif
00725 
00726 /* Name of package */
00727 #define PACKAGE "curl"
00728 
00729 /* If you want to build curl with the built-in manual */
00730 #define USE_MANUAL 1
00731 
00732 #if defined(__POCC__) || defined(USE_IPV6)
00733 #  define ENABLE_IPV6 1
00734 #endif
00735 
00736 #endif /* HEADER_CURL_CONFIG_WIN32_H */


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:02