1 #ifndef HEADER_CURL_CONFIG_WIN32_H
2 #define HEADER_CURL_CONFIG_WIN32_H
3 /***************************************************************************
5 * Project ___| | | | _ \| |
7 * | (__| |_| | _ <| |___
8 * \___|\___/|_| \_\_____|
10 * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
12 * This software is licensed as described in the file COPYING, which
13 * you should have received as part of this distribution. The terms
14 * are also available at https://curl.haxx.se/docs/copyright.html.
16 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17 * copies of the Software, and permit persons to whom the Software is
18 * furnished to do so, under the terms of the COPYING file.
20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 * KIND, either express or implied.
23 ***************************************************************************/
25 /* ================================================================ */
26 /* Hand crafted config file for Windows */
27 /* ================================================================ */
29 /* ---------------------------------------------------------------- */
31 /* ---------------------------------------------------------------- */
33 /* Define if you have the <arpa/inet.h> header file. */
34 /* #define HAVE_ARPA_INET_H 1 */
36 /* Define if you have the <assert.h> header file. */
37 #define HAVE_ASSERT_H 1
39 /* Define if you have the <crypto.h> header file. */
40 /* #define HAVE_CRYPTO_H 1 */
42 /* Define if you have the <errno.h> header file. */
43 #define HAVE_ERRNO_H 1
45 /* Define if you have the <err.h> header file. */
46 /* #define HAVE_ERR_H 1 */
48 /* Define if you have the <fcntl.h> header file. */
49 #define HAVE_FCNTL_H 1
51 /* Define if you have the <getopt.h> header file. */
52 #if defined(__MINGW32__) || defined(__POCC__)
53 #define HAVE_GETOPT_H 1
56 /* Define to 1 if you have the <inttypes.h> header file. */
57 #if defined(_MSC_VER) && (_MSC_VER >= 1800)
58 #define HAVE_INTTYPES_H 1
61 /* Define if you have the <io.h> header file. */
64 /* Define if you have the <limits.h> header file. */
65 #define HAVE_LIMITS_H 1
67 /* Define if you have the <locale.h> header file. */
68 #define HAVE_LOCALE_H 1
70 /* Define if you need <malloc.h> header even with <stdlib.h> header file. */
71 #if !defined(__SALFORDC__) && !defined(__POCC__)
72 #define NEED_MALLOC_H 1
75 /* Define if you have the <netdb.h> header file. */
76 /* #define HAVE_NETDB_H 1 */
78 /* Define if you have the <netinet/in.h> header file. */
79 /* #define HAVE_NETINET_IN_H 1 */
81 /* Define if you have the <process.h> header file. */
83 #define HAVE_PROCESS_H 1
86 /* Define if you have the <signal.h> header file. */
87 #define HAVE_SIGNAL_H 1
89 /* Define if you have the <sgtty.h> header file. */
90 /* #define HAVE_SGTTY_H 1 */
92 /* Define if you have the <ssl.h> header file. */
93 /* #define HAVE_SSL_H 1 */
95 /* Define to 1 if you have the <stdbool.h> header file. */
96 #if defined(_MSC_VER) && (_MSC_VER >= 1800)
97 #define HAVE_STDBOOL_H 1
100 /* Define if you have the <stdlib.h> header file. */
101 #define HAVE_STDLIB_H 1
103 /* Define if you have the <sys/param.h> header file. */
104 /* #define HAVE_SYS_PARAM_H 1 */
106 /* Define if you have the <sys/select.h> header file. */
107 /* #define HAVE_SYS_SELECT_H 1 */
109 /* Define if you have the <sys/socket.h> header file. */
110 /* #define HAVE_SYS_SOCKET_H 1 */
112 /* Define if you have the <sys/sockio.h> header file. */
113 /* #define HAVE_SYS_SOCKIO_H 1 */
115 /* Define if you have the <sys/stat.h> header file. */
116 #define HAVE_SYS_STAT_H 1
118 /* Define if you have the <sys/time.h> header file. */
119 /* #define HAVE_SYS_TIME_H 1 */
121 /* Define if you have the <sys/types.h> header file. */
122 #define HAVE_SYS_TYPES_H 1
124 /* Define if you have the <sys/utime.h> header file. */
126 #define HAVE_SYS_UTIME_H 1
129 /* Define if you have the <termio.h> header file. */
130 /* #define HAVE_TERMIO_H 1 */
132 /* Define if you have the <termios.h> header file. */
133 /* #define HAVE_TERMIOS_H 1 */
135 /* Define if you have the <time.h> header file. */
136 #define HAVE_TIME_H 1
138 /* Define if you have the <unistd.h> header file. */
139 #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__) || \
141 #define HAVE_UNISTD_H 1
144 /* Define if you have the <windows.h> header file. */
145 #define HAVE_WINDOWS_H 1
147 /* Define if you have the <winsock.h> header file. */
148 #define HAVE_WINSOCK_H 1
150 /* Define if you have the <winsock2.h> header file. */
152 #define HAVE_WINSOCK2_H 1
155 /* Define if you have the <ws2tcpip.h> header file. */
157 #define HAVE_WS2TCPIP_H 1
160 /* ---------------------------------------------------------------- */
161 /* OTHER HEADER INFO */
162 /* ---------------------------------------------------------------- */
164 /* Define if sig_atomic_t is an available typedef. */
165 #define HAVE_SIG_ATOMIC_T 1
167 /* Define if you have the ANSI C header files. */
168 #define STDC_HEADERS 1
170 /* Define if you can safely include both <sys/time.h> and <time.h>. */
171 /* #define TIME_WITH_SYS_TIME 1 */
173 /* Define to 1 if bool is an available type. */
174 #if defined(_MSC_VER) && (_MSC_VER >= 1800)
175 #define HAVE_BOOL_T 1
178 /* ---------------------------------------------------------------- */
180 /* ---------------------------------------------------------------- */
182 /* Define if you have the closesocket function. */
183 #define HAVE_CLOSESOCKET 1
185 /* Define if you don't have vprintf but do have _doprnt. */
186 /* #define HAVE_DOPRNT 1 */
188 /* Define if you have the ftruncate function. */
189 #define HAVE_FTRUNCATE 1
191 /* Define if you have the gethostbyaddr function. */
192 #define HAVE_GETHOSTBYADDR 1
194 /* Define if you have the gethostname function. */
195 #define HAVE_GETHOSTNAME 1
197 /* Define if you have the getpass function. */
198 /* #define HAVE_GETPASS 1 */
200 /* Define if you have the getservbyname function. */
201 #define HAVE_GETSERVBYNAME 1
203 /* Define if you have the getprotobyname function. */
204 #define HAVE_GETPROTOBYNAME
206 /* Define if you have the gettimeofday function. */
207 /* #define HAVE_GETTIMEOFDAY 1 */
209 /* Define if you have the inet_addr function. */
210 #define HAVE_INET_ADDR 1
212 /* Define if you have the ioctlsocket function. */
213 #define HAVE_IOCTLSOCKET 1
215 /* Define if you have a working ioctlsocket FIONBIO function. */
216 #define HAVE_IOCTLSOCKET_FIONBIO 1
218 /* Define if you have the perror function. */
219 #define HAVE_PERROR 1
221 /* Define if you have the RAND_screen function when using SSL. */
222 #define HAVE_RAND_SCREEN 1
224 /* Define if you have the `RAND_status' function when using SSL. */
225 #define HAVE_RAND_STATUS 1
227 /* Define if you have the `CRYPTO_cleanup_all_ex_data' function.
228 This is present in OpenSSL versions after 0.9.6b */
229 #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
231 /* Define if you have the select function. */
232 #define HAVE_SELECT 1
234 /* Define if you have the setlocale function. */
235 #define HAVE_SETLOCALE 1
237 /* Define if you have the setmode function. */
238 #define HAVE_SETMODE 1
240 /* Define if you have the setvbuf function. */
241 #define HAVE_SETVBUF 1
243 /* Define if you have the socket function. */
244 #define HAVE_SOCKET 1
246 /* Define if you have the strcasecmp function. */
247 /* #define HAVE_STRCASECMP 1 */
249 /* Define if you have the strdup function. */
250 #define HAVE_STRDUP 1
252 /* Define if you have the strftime function. */
253 #define HAVE_STRFTIME 1
255 /* Define if you have the stricmp function. */
256 #define HAVE_STRICMP 1
258 /* Define if you have the strncasecmp function. */
259 /* #define HAVE_STRNCASECMP 1 */
261 /* Define if you have the strnicmp function. */
262 #define HAVE_STRNICMP 1
264 /* Define if you have the strstr function. */
265 #define HAVE_STRSTR 1
267 /* Define if you have the strtoll function. */
268 #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__POCC__) || \
269 (defined(_MSC_VER) && (_MSC_VER >= 1800))
270 #define HAVE_STRTOLL 1
273 /* Define if you have the tcgetattr function. */
274 /* #define HAVE_TCGETATTR 1 */
276 /* Define if you have the tcsetattr function. */
277 /* #define HAVE_TCSETATTR 1 */
279 /* Define if you have the utime function. */
284 /* Define to the type qualifier of arg 1 for getnameinfo. */
285 #define GETNAMEINFO_QUAL_ARG1 const
287 /* Define to the type of arg 1 for getnameinfo. */
288 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
290 /* Define to the type of arg 2 for getnameinfo. */
291 #define GETNAMEINFO_TYPE_ARG2 socklen_t
293 /* Define to the type of args 4 and 6 for getnameinfo. */
294 #define GETNAMEINFO_TYPE_ARG46 DWORD
296 /* Define to the type of arg 7 for getnameinfo. */
297 #define GETNAMEINFO_TYPE_ARG7 int
299 /* Define if you have the recv function. */
302 /* Define to the type of arg 1 for recv. */
303 #define RECV_TYPE_ARG1 SOCKET
305 /* Define to the type of arg 2 for recv. */
306 #define RECV_TYPE_ARG2 char *
308 /* Define to the type of arg 3 for recv. */
309 #define RECV_TYPE_ARG3 int
311 /* Define to the type of arg 4 for recv. */
312 #define RECV_TYPE_ARG4 int
314 /* Define to the function return type for recv. */
315 #define RECV_TYPE_RETV int
317 /* Define if you have the recvfrom function. */
318 #define HAVE_RECVFROM 1
320 /* Define to the type of arg 1 for recvfrom. */
321 #define RECVFROM_TYPE_ARG1 SOCKET
323 /* Define to the type pointed by arg 2 for recvfrom. */
324 #define RECVFROM_TYPE_ARG2 char
326 /* Define to the type of arg 3 for recvfrom. */
327 #define RECVFROM_TYPE_ARG3 int
329 /* Define to the type of arg 4 for recvfrom. */
330 #define RECVFROM_TYPE_ARG4 int
332 /* Define to the type pointed by arg 5 for recvfrom. */
333 #define RECVFROM_TYPE_ARG5 struct sockaddr
335 /* Define to the type pointed by arg 6 for recvfrom. */
336 #define RECVFROM_TYPE_ARG6 int
338 /* Define to the function return type for recvfrom. */
339 #define RECVFROM_TYPE_RETV int
341 /* Define if you have the send function. */
344 /* Define to the type of arg 1 for send. */
345 #define SEND_TYPE_ARG1 SOCKET
347 /* Define to the type qualifier of arg 2 for send. */
348 #define SEND_QUAL_ARG2 const
350 /* Define to the type of arg 2 for send. */
351 #define SEND_TYPE_ARG2 char *
353 /* Define to the type of arg 3 for send. */
354 #define SEND_TYPE_ARG3 int
356 /* Define to the type of arg 4 for send. */
357 #define SEND_TYPE_ARG4 int
359 /* Define to the function return type for send. */
360 #define SEND_TYPE_RETV int
362 /* ---------------------------------------------------------------- */
363 /* TYPEDEF REPLACEMENTS */
364 /* ---------------------------------------------------------------- */
366 /* Define if in_addr_t is not an available 'typedefed' type. */
367 #define in_addr_t unsigned long
369 /* Define to the return type of signal handlers (int or void). */
370 #define RETSIGTYPE void
372 /* Define if ssize_t is not an available 'typedefed' type. */
373 #ifndef _SSIZE_T_DEFINED
374 # if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || \
375 defined(__POCC__) || \
377 # elif defined(_WIN64)
378 # define _SSIZE_T_DEFINED
379 # define ssize_t __int64
381 # define _SSIZE_T_DEFINED
386 /* ---------------------------------------------------------------- */
388 /* ---------------------------------------------------------------- */
390 /* Define to the size of `int', as computed by sizeof. */
393 /* Define to the size of `long double', as computed by sizeof. */
394 #define SIZEOF_LONG_DOUBLE 16
396 /* Define to the size of `long long', as computed by sizeof. */
397 /* #define SIZEOF_LONG_LONG 8 */
399 /* Define to the size of `short', as computed by sizeof. */
400 #define SIZEOF_SHORT 2
402 /* Define to the size of `size_t', as computed by sizeof. */
404 # define SIZEOF_SIZE_T 8
406 # define SIZEOF_SIZE_T 4
409 /* ---------------------------------------------------------------- */
410 /* BSD-style lwIP TCP/IP stack SPECIFIC */
411 /* ---------------------------------------------------------------- */
413 /* Define to use BSD-style lwIP TCP/IP stack. */
414 /* #define USE_LWIPSOCK 1 */
418 # undef HAVE_WINSOCK_H
419 # undef HAVE_WINSOCK2_H
420 # undef HAVE_WS2TCPIP_H
422 # undef HAVE_GETHOSTNAME
423 # undef HAVE_GETNAMEINFO
424 # undef LWIP_POSIX_SOCKETS_IO_NAMES
425 # undef RECV_TYPE_ARG1
426 # undef RECV_TYPE_ARG3
427 # undef SEND_TYPE_ARG1
428 # undef SEND_TYPE_ARG3
429 # define HAVE_FREEADDRINFO
430 # define HAVE_GETADDRINFO
431 # define HAVE_GETHOSTBYNAME
432 # define HAVE_GETHOSTBYNAME_R
433 # define HAVE_GETHOSTBYNAME_R_6
434 # define LWIP_POSIX_SOCKETS_IO_NAMES 0
435 # define RECV_TYPE_ARG1 int
436 # define RECV_TYPE_ARG3 size_t
437 # define SEND_TYPE_ARG1 int
438 # define SEND_TYPE_ARG3 size_t
441 /* ---------------------------------------------------------------- */
442 /* Watt-32 tcp/ip SPECIFIC */
443 /* ---------------------------------------------------------------- */
450 #undef HAVE_WINSOCK_H
451 #undef HAVE_WINSOCK2_H
452 #undef HAVE_WS2TCPIP_H
453 #define HAVE_GETADDRINFO
454 #define HAVE_GETNAMEINFO
455 #define HAVE_SYS_IOCTL_H
456 #define HAVE_SYS_SOCKET_H
457 #define HAVE_NETINET_IN_H
459 #define HAVE_ARPA_INET_H
460 #define HAVE_FREEADDRINFO
465 /* ---------------------------------------------------------------- */
466 /* COMPILER SPECIFIC */
467 /* ---------------------------------------------------------------- */
469 /* Define to nothing if compiler does not support 'const' qualifier. */
472 /* Define to nothing if compiler does not support 'volatile' qualifier. */
473 /* #define volatile */
475 /* Windows should not have HAVE_GMTIME_R defined */
476 /* #undef HAVE_GMTIME_R */
478 /* Define if the compiler supports C99 variadic macro style. */
479 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
480 #define HAVE_VARIADIC_MACROS_C99 1
483 /* Define if the compiler supports the 'long long' data type. */
484 #if defined(__MINGW32__) || defined(__WATCOMC__) || \
485 (defined(_MSC_VER) && (_MSC_VER >= 1310)) || \
486 (defined(__BORLANDC__) && (__BORLANDC__ >= 0x561))
487 #define HAVE_LONGLONG 1
490 /* Define to avoid VS2005 complaining about portable C functions. */
491 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
492 #define _CRT_SECURE_NO_DEPRECATE 1
493 #define _CRT_NONSTDC_NO_DEPRECATE 1
496 /* VS2005 and later dafault size for time_t is 64-bit, unless
497 _USE_32BIT_TIME_T has been defined to get a 32-bit time_t. */
498 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
499 # ifndef _USE_32BIT_TIME_T
500 # define SIZEOF_TIME_T 8
502 # define SIZEOF_TIME_T 4
506 /* Define some minimum and default build targets for Visual Studio */
507 #if defined(_MSC_VER)
508 /* Officially, Microsoft's Windows SDK versions 6.X does not support Windows
509 2000 as a supported build target. VS2008 default installations provides
510 an embedded Windows SDK v6.0A along with the claim that Windows 2000 is a
511 valid build target for VS2008. Popular belief is that binaries built with
512 VS2008 using Windows SDK versions v6.X and Windows 2000 as a build target
514 # define VS2008_MIN_TARGET 0x0500
516 /* The minimum build target for VS2012 is Vista unless Update 1 is installed
517 and the v110_xp toolset is choosen. */
518 # if defined(_USING_V110_SDK71_)
519 # define VS2012_MIN_TARGET 0x0501
521 # define VS2012_MIN_TARGET 0x0600
524 /* VS2008 default build target is Windows Vista. We override default target
526 # define VS2008_DEF_TARGET 0x0501
528 /* VS2012 default build target is Windows Vista unless Update 1 is installed
529 and the v110_xp toolset is choosen. */
530 # if defined(_USING_V110_SDK71_)
531 # define VS2012_DEF_TARGET 0x0501
533 # define VS2012_DEF_TARGET 0x0600
537 /* VS2008 default target settings and minimum build target check. */
538 #if defined(_MSC_VER) && (_MSC_VER >= 1500) && (_MSC_VER <= 1600)
539 # ifndef _WIN32_WINNT
540 # define _WIN32_WINNT VS2008_DEF_TARGET
543 # define WINVER VS2008_DEF_TARGET
545 # if (_WIN32_WINNT < VS2008_MIN_TARGET) || (WINVER < VS2008_MIN_TARGET)
546 # error VS2008 does not support Windows build targets prior to Windows 2000
550 /* VS2012 default target settings and minimum build target check. */
551 #if defined(_MSC_VER) && (_MSC_VER >= 1700)
552 # ifndef _WIN32_WINNT
553 # define _WIN32_WINNT VS2012_DEF_TARGET
556 # define WINVER VS2012_DEF_TARGET
558 # if (_WIN32_WINNT < VS2012_MIN_TARGET) || (WINVER < VS2012_MIN_TARGET)
559 # if defined(_USING_V110_SDK71_)
560 # error VS2012 does not support Windows build targets prior to Windows XP
562 # error VS2012 does not support Windows build targets prior to Windows \
568 /* When no build target is specified Pelles C 5.00 and later default build
569 target is Windows Vista. We override default target to be Windows 2000. */
570 #if defined(__POCC__) && (__POCC__ >= 500)
571 # ifndef _WIN32_WINNT
572 # define _WIN32_WINNT 0x0500
575 # define WINVER 0x0500
579 /* Availability of freeaddrinfo, getaddrinfo and getnameinfo functions is
580 quite convoluted, compiler dependent and even build target dependent. */
581 #if defined(HAVE_WS2TCPIP_H)
582 # if defined(__POCC__)
583 # define HAVE_FREEADDRINFO 1
584 # define HAVE_GETADDRINFO 1
585 # define HAVE_GETADDRINFO_THREADSAFE 1
586 # define HAVE_GETNAMEINFO 1
587 # elif defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0501)
588 # define HAVE_FREEADDRINFO 1
589 # define HAVE_GETADDRINFO 1
590 # define HAVE_GETADDRINFO_THREADSAFE 1
591 # define HAVE_GETNAMEINFO 1
592 # elif defined(_MSC_VER) && (_MSC_VER >= 1200)
593 # define HAVE_FREEADDRINFO 1
594 # define HAVE_GETADDRINFO 1
595 # define HAVE_GETADDRINFO_THREADSAFE 1
596 # define HAVE_GETNAMEINFO 1
600 #if defined(__POCC__)
602 # error Microsoft extensions /Ze compiler option is required
604 # ifndef __POCC__OLDNAMES
605 # error Compatibility names /Go compiler option is required
609 /* ---------------------------------------------------------------- */
611 /* ---------------------------------------------------------------- */
613 /* Define if you have struct sockaddr_storage. */
614 #if !defined(__SALFORDC__) && !defined(__BORLANDC__)
615 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
618 /* Define if you have struct timeval. */
619 #define HAVE_STRUCT_TIMEVAL 1
621 /* Define if struct sockaddr_in6 has the sin6_scope_id member. */
622 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
624 #if defined(HAVE_WINSOCK2_H) && defined(_WIN32_WINNT) && \
625 (_WIN32_WINNT >= 0x0600)
626 #define HAVE_STRUCT_POLLFD 1
629 /* ---------------------------------------------------------------- */
630 /* LARGE FILE SUPPORT */
631 /* ---------------------------------------------------------------- */
633 #if defined(_MSC_VER) && !defined(_WIN32_WCE)
634 # if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
635 # define USE_WIN32_LARGE_FILES
637 # define USE_WIN32_SMALL_FILES
641 #if defined(__MINGW32__) && !defined(USE_WIN32_LARGE_FILES)
642 # define USE_WIN32_LARGE_FILES
645 #if defined(__WATCOMC__) && !defined(USE_WIN32_LARGE_FILES)
646 # define USE_WIN32_LARGE_FILES
649 #if defined(__POCC__)
650 # undef USE_WIN32_LARGE_FILES
653 #if !defined(USE_WIN32_LARGE_FILES) && !defined(USE_WIN32_SMALL_FILES)
654 # define USE_WIN32_SMALL_FILES
657 /* ---------------------------------------------------------------- */
658 /* DNS RESOLVER SPECIALTY */
659 /* ---------------------------------------------------------------- */
662 * Undefine both USE_ARES and USE_THREADS_WIN32 for synchronous DNS.
665 /* Define to enable c-ares asynchronous DNS lookups. */
666 /* #define USE_ARES 1 */
668 /* Default define to enable threaded asynchronous DNS lookups. */
669 #if !defined(USE_SYNC_DNS) && !defined(USE_ARES) && \
670 !defined(USE_THREADS_WIN32)
671 # define USE_THREADS_WIN32 1
674 #if defined(USE_ARES) && defined(USE_THREADS_WIN32)
675 # error "Only one DNS lookup specialty may be defined at most"
678 /* ---------------------------------------------------------------- */
680 /* ---------------------------------------------------------------- */
682 #if defined(CURL_HAS_NOVELL_LDAPSDK) || defined(CURL_HAS_MOZILLA_LDAPSDK)
683 #undef USE_WIN32_LDAP
684 #define HAVE_LDAP_SSL_H 1
685 #define HAVE_LDAP_URL_PARSE 1
686 #elif defined(CURL_HAS_OPENLDAP_LDAPSDK)
687 #undef USE_WIN32_LDAP
688 #define HAVE_LDAP_URL_PARSE 1
690 #undef HAVE_LDAP_URL_PARSE
691 #define USE_WIN32_LDAP 1
694 #if defined(__WATCOMC__) && defined(USE_WIN32_LDAP)
695 #if __WATCOMC__ < 1280
696 #define WINBERAPI __declspec(cdecl)
697 #define WINLDAPAPI __declspec(cdecl)
701 #if defined(__POCC__) && defined(USE_WIN32_LDAP)
702 # define CURL_DISABLE_LDAP 1
705 /* Define to use the Windows crypto library. */
706 #if !defined(USE_OPENSSL) && !defined(USE_NSS)
707 #define USE_WIN32_CRYPTO
710 /* ---------------------------------------------------------------- */
711 /* ADDITIONAL DEFINITIONS */
712 /* ---------------------------------------------------------------- */
714 /* Define cpu-machine-OS */
716 #if defined(_M_IX86) || defined(__i386__) /* x86 (MSVC or gcc) */
717 #define OS "i386-pc-win32"
718 #elif defined(_M_X64) || defined(__x86_64__) /* x86_64 (MSVC >=2005 or gcc) */
719 #define OS "x86_64-pc-win32"
720 #elif defined(_M_IA64) /* Itanium */
721 #define OS "ia64-pc-win32"
723 #define OS "unknown-pc-win32"
726 /* Name of package */
727 #define PACKAGE "curl"
729 /* If you want to build curl with the built-in manual */
732 #if defined(__POCC__) || defined(USE_IPV6)
733 # define ENABLE_IPV6 1
736 #endif /* HEADER_CURL_CONFIG_WIN32_H */