VirtualBox

source: vbox/trunk/src/libs/curl-7.83.1/lib/config-win32.h@ 97623

Last change on this file since 97623 was 95312, checked in by vboxsync, 3 years ago

libs/{curl,libxml2}: OSE export fixes, bugref:8515

  • Property svn:eol-style set to native
File size: 20.7 KB
Line 
1#ifndef HEADER_CURL_CONFIG_WIN32_H
2#define HEADER_CURL_CONFIG_WIN32_H
3/***************************************************************************
4 * _ _ ____ _
5 * Project ___| | | | _ \| |
6 * / __| | | | |_) | |
7 * | (__| |_| | _ <| |___
8 * \___|\___/|_| \_\_____|
9 *
10 * Copyright (C) 1998 - 2022, Daniel Stenberg, <[email protected]>, et al.
11 *
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.se/docs/copyright.html.
15 *
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.
19 *
20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 * KIND, either express or implied.
22 *
23 ***************************************************************************/
24
25/* ================================================================ */
26/* Hand crafted config file for Windows */
27/* ================================================================ */
28
29/* ---------------------------------------------------------------- */
30/* HEADER FILES */
31/* ---------------------------------------------------------------- */
32
33/* Define if you have the <arpa/inet.h> header file. */
34/* #define HAVE_ARPA_INET_H 1 */
35
36/* Define if you have the <assert.h> header file. */
37#define HAVE_ASSERT_H 1
38
39/* Define if you have the <errno.h> header file. */
40#define HAVE_ERRNO_H 1
41
42/* Define if you have the <fcntl.h> header file. */
43#define HAVE_FCNTL_H 1
44
45/* Define if you have the <getopt.h> header file. */
46#if defined(__MINGW32__) || defined(__POCC__)
47#define HAVE_GETOPT_H 1
48#endif
49
50/* Define to 1 if you have the <inttypes.h> header file. */
51#if defined(_MSC_VER) && (_MSC_VER >= 1800)
52#define HAVE_INTTYPES_H 1
53#endif
54
55/* Define if you have the <io.h> header file. */
56#define HAVE_IO_H 1
57
58/* Define if you have the <locale.h> header file. */
59#define HAVE_LOCALE_H 1
60
61/* Define if you need <malloc.h> header even with <stdlib.h> header file. */
62#if !defined(__SALFORDC__) && !defined(__POCC__)
63#define NEED_MALLOC_H 1
64#endif
65
66/* Define if you have the <netdb.h> header file. */
67/* #define HAVE_NETDB_H 1 */
68
69/* Define if you have the <netinet/in.h> header file. */
70/* #define HAVE_NETINET_IN_H 1 */
71
72/* Define if you have the <process.h> header file. */
73#ifndef __SALFORDC__
74#define HAVE_PROCESS_H 1
75#endif
76
77/* Define if you have the <signal.h> header file. */
78#define HAVE_SIGNAL_H 1
79
80/* Define if you have the <ssl.h> header file. */
81/* #define HAVE_SSL_H 1 */
82
83/* Define to 1 if you have the <stdbool.h> header file. */
84#if defined(_MSC_VER) && (_MSC_VER >= 1800)
85#define HAVE_STDBOOL_H 1
86#endif
87
88/* Define if you have the <stdlib.h> header file. */
89#define HAVE_STDLIB_H 1
90
91/* Define if you have the <sys/param.h> header file. */
92/* #define HAVE_SYS_PARAM_H 1 */
93
94/* Define if you have the <sys/select.h> header file. */
95/* #define HAVE_SYS_SELECT_H 1 */
96
97/* Define if you have the <sys/socket.h> header file. */
98/* #define HAVE_SYS_SOCKET_H 1 */
99
100/* Define if you have the <sys/sockio.h> header file. */
101/* #define HAVE_SYS_SOCKIO_H 1 */
102
103/* Define if you have the <sys/stat.h> header file. */
104#define HAVE_SYS_STAT_H 1
105
106/* Define if you have the <sys/time.h> header file. */
107/* #define HAVE_SYS_TIME_H 1 */
108
109/* Define if you have the <sys/types.h> header file. */
110#define HAVE_SYS_TYPES_H 1
111
112/* Define if you have the <sys/utime.h> header file. */
113#ifndef __BORLANDC__
114#define HAVE_SYS_UTIME_H 1
115#endif
116
117/* Define if you have the <termio.h> header file. */
118/* #define HAVE_TERMIO_H 1 */
119
120/* Define if you have the <termios.h> header file. */
121/* #define HAVE_TERMIOS_H 1 */
122
123/* Define if you have the <time.h> header file. */
124#define HAVE_TIME_H 1
125
126/* Define if you have the <unistd.h> header file. */
127#if defined(__MINGW32__) || defined(__LCC__) || defined(__POCC__)
128#define HAVE_UNISTD_H 1
129#endif
130
131/* Define if you have the <windows.h> header file. */
132#define HAVE_WINDOWS_H 1
133
134/* Define if you have the <winsock2.h> header file. */
135#ifndef __SALFORDC__
136#define HAVE_WINSOCK2_H 1
137#endif
138
139/* Define if you have the <ws2tcpip.h> header file. */
140#ifndef __SALFORDC__
141#define HAVE_WS2TCPIP_H 1
142#endif
143
144/* ---------------------------------------------------------------- */
145/* OTHER HEADER INFO */
146/* ---------------------------------------------------------------- */
147
148/* Define if you have the ANSI C header files. */
149#define STDC_HEADERS 1
150
151/* Define if you can safely include both <sys/time.h> and <time.h>. */
152/* #define TIME_WITH_SYS_TIME 1 */
153
154/* Define to 1 if bool is an available type. */
155#if defined(_MSC_VER) && (_MSC_VER >= 1800)
156#define HAVE_BOOL_T 1
157#endif
158
159/* ---------------------------------------------------------------- */
160/* FUNCTIONS */
161/* ---------------------------------------------------------------- */
162
163/* Define if you have the closesocket function. */
164#define HAVE_CLOSESOCKET 1
165
166/* Define if you don't have vprintf but do have _doprnt. */
167/* #define HAVE_DOPRNT 1 */
168
169/* Define if you have the ftruncate function. */
170/* #define HAVE_FTRUNCATE 1 */
171
172/* Define to 1 if you have the `getpeername' function. */
173#define HAVE_GETPEERNAME 1
174
175/* Define to 1 if you have the getsockname function. */
176#define HAVE_GETSOCKNAME 1
177
178/* Define if you have the gethostname function. */
179#define HAVE_GETHOSTNAME 1
180
181/* Define if you have the getpass function. */
182/* #define HAVE_GETPASS 1 */
183
184/* Define if you have the getservbyname function. */
185#define HAVE_GETSERVBYNAME 1
186
187/* Define if you have the getprotobyname function. */
188#define HAVE_GETPROTOBYNAME
189
190/* Define if you have the gettimeofday function. */
191/* #define HAVE_GETTIMEOFDAY 1 */
192
193/* Define if you have the inet_addr function. */
194#define HAVE_INET_ADDR 1
195
196/* Define if you have the ioctlsocket function. */
197#define HAVE_IOCTLSOCKET 1
198
199/* Define if you have a working ioctlsocket FIONBIO function. */
200#define HAVE_IOCTLSOCKET_FIONBIO 1
201
202/* Define if you have the RAND_screen function when using SSL. */
203#define HAVE_RAND_SCREEN 1
204
205/* Define if you have the `RAND_status' function when using SSL. */
206#define HAVE_RAND_STATUS 1
207
208/* Define if you have the `CRYPTO_cleanup_all_ex_data' function.
209 This is present in OpenSSL versions after 0.9.6b */
210#define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1
211
212/* Define if you have the select function. */
213#define HAVE_SELECT 1
214
215/* Define if you have the setlocale function. */
216#define HAVE_SETLOCALE 1
217
218/* Define if you have the setmode function. */
219#define HAVE_SETMODE 1
220
221/* Define if you have the setvbuf function. */
222#define HAVE_SETVBUF 1
223
224/* Define if you have the socket function. */
225#define HAVE_SOCKET 1
226
227/* Define if you have the strcasecmp function. */
228#ifdef __MINGW32__
229#define HAVE_STRCASECMP 1
230#endif
231
232/* Define if you have the strdup function. */
233#define HAVE_STRDUP 1
234
235/* Define if you have the strftime function. */
236#define HAVE_STRFTIME 1
237
238/* Define if you have the stricmp function. */
239#define HAVE_STRICMP 1
240
241/* Define if you have the strnicmp function. */
242#define HAVE_STRNICMP 1
243
244/* Define if you have the strstr function. */
245#define HAVE_STRSTR 1
246
247/* Define if you have the strtoll function. */
248#if defined(__MINGW32__) || defined(__POCC__) || \
249 (defined(_MSC_VER) && (_MSC_VER >= 1800))
250#define HAVE_STRTOLL 1
251#endif
252
253/* Define if you have the utime function. */
254#ifndef __BORLANDC__
255#define HAVE_UTIME 1
256#endif
257
258/* Define if you have the recv function. */
259#define HAVE_RECV 1
260
261/* Define to the type of arg 1 for recv. */
262#define RECV_TYPE_ARG1 SOCKET
263
264/* Define to the type of arg 2 for recv. */
265#define RECV_TYPE_ARG2 char *
266
267/* Define to the type of arg 3 for recv. */
268#define RECV_TYPE_ARG3 int
269
270/* Define to the type of arg 4 for recv. */
271#define RECV_TYPE_ARG4 int
272
273/* Define to the function return type for recv. */
274#define RECV_TYPE_RETV int
275
276/* Define if you have the recvfrom function. */
277#define HAVE_RECVFROM 1
278
279/* Define to the type of arg 1 for recvfrom. */
280#define RECVFROM_TYPE_ARG1 SOCKET
281
282/* Define to the type pointed by arg 2 for recvfrom. */
283#define RECVFROM_TYPE_ARG2 char
284
285/* Define to the type of arg 3 for recvfrom. */
286#define RECVFROM_TYPE_ARG3 int
287
288/* Define to the type of arg 4 for recvfrom. */
289#define RECVFROM_TYPE_ARG4 int
290
291/* Define to the type pointed by arg 5 for recvfrom. */
292#define RECVFROM_TYPE_ARG5 struct sockaddr
293
294/* Define to the type pointed by arg 6 for recvfrom. */
295#define RECVFROM_TYPE_ARG6 int
296
297/* Define to the function return type for recvfrom. */
298#define RECVFROM_TYPE_RETV int
299
300/* Define if you have the send function. */
301#define HAVE_SEND 1
302
303/* Define to the type of arg 1 for send. */
304#define SEND_TYPE_ARG1 SOCKET
305
306/* Define to the type qualifier of arg 2 for send. */
307#define SEND_QUAL_ARG2 const
308
309/* Define to the type of arg 2 for send. */
310#define SEND_TYPE_ARG2 char *
311
312/* Define to the type of arg 3 for send. */
313#define SEND_TYPE_ARG3 int
314
315/* Define to the type of arg 4 for send. */
316#define SEND_TYPE_ARG4 int
317
318/* Define to the function return type for send. */
319#define SEND_TYPE_RETV int
320
321/* ---------------------------------------------------------------- */
322/* TYPEDEF REPLACEMENTS */
323/* ---------------------------------------------------------------- */
324
325/* Define if in_addr_t is not an available 'typedefed' type. */
326#define in_addr_t unsigned long
327
328/* Define if ssize_t is not an available 'typedefed' type. */
329#ifndef _SSIZE_T_DEFINED
330# if defined(__POCC__) || defined(__MINGW32__)
331# elif defined(_WIN64)
332# define _SSIZE_T_DEFINED
333# define ssize_t __int64
334# else
335# define _SSIZE_T_DEFINED
336# define ssize_t int
337# endif
338#endif
339
340/* ---------------------------------------------------------------- */
341/* TYPE SIZES */
342/* ---------------------------------------------------------------- */
343
344/* Define to the size of `int', as computed by sizeof. */
345#define SIZEOF_INT 4
346
347/* Define to the size of `long double', as computed by sizeof. */
348#define SIZEOF_LONG_DOUBLE 16
349
350/* Define to the size of `long long', as computed by sizeof. */
351/* #define SIZEOF_LONG_LONG 8 */
352
353/* Define to the size of `short', as computed by sizeof. */
354#define SIZEOF_SHORT 2
355
356/* Define to the size of `long', as computed by sizeof. */
357#define SIZEOF_LONG 4
358
359/* Define to the size of `size_t', as computed by sizeof. */
360#if defined(_WIN64)
361# define SIZEOF_SIZE_T 8
362#else
363# define SIZEOF_SIZE_T 4
364#endif
365
366/* Define to the size of `curl_off_t', as computed by sizeof. */
367#define SIZEOF_CURL_OFF_T 8
368
369/* ---------------------------------------------------------------- */
370/* BSD-style lwIP TCP/IP stack SPECIFIC */
371/* ---------------------------------------------------------------- */
372
373/* Define to use BSD-style lwIP TCP/IP stack. */
374/* #define USE_LWIPSOCK 1 */
375
376#ifdef USE_LWIPSOCK
377# undef USE_WINSOCK
378# undef HAVE_WINSOCK2_H
379# undef HAVE_WS2TCPIP_H
380# undef HAVE_ERRNO_H
381# undef HAVE_GETHOSTNAME
382# undef LWIP_POSIX_SOCKETS_IO_NAMES
383# undef RECV_TYPE_ARG1
384# undef RECV_TYPE_ARG3
385# undef SEND_TYPE_ARG1
386# undef SEND_TYPE_ARG3
387# define HAVE_FREEADDRINFO
388# define HAVE_GETADDRINFO
389# define HAVE_GETHOSTBYNAME
390# define HAVE_GETHOSTBYNAME_R
391# define HAVE_GETHOSTBYNAME_R_6
392# define LWIP_POSIX_SOCKETS_IO_NAMES 0
393# define RECV_TYPE_ARG1 int
394# define RECV_TYPE_ARG3 size_t
395# define SEND_TYPE_ARG1 int
396# define SEND_TYPE_ARG3 size_t
397#endif
398
399/* ---------------------------------------------------------------- */
400/* Watt-32 tcp/ip SPECIFIC */
401/* ---------------------------------------------------------------- */
402
403#ifdef USE_WATT32
404 #include <tcp.h>
405 #undef byte
406 #undef word
407 #undef USE_WINSOCK
408 #undef HAVE_WINSOCK2_H
409 #undef HAVE_WS2TCPIP_H
410 #define HAVE_GETADDRINFO
411 #define HAVE_SYS_IOCTL_H
412 #define HAVE_SYS_SOCKET_H
413 #define HAVE_NETINET_IN_H
414 #define HAVE_NETDB_H
415 #define HAVE_ARPA_INET_H
416 #define HAVE_FREEADDRINFO
417 #define SOCKET int
418#endif
419
420
421/* ---------------------------------------------------------------- */
422/* COMPILER SPECIFIC */
423/* ---------------------------------------------------------------- */
424
425/* Define to nothing if compiler does not support 'const' qualifier. */
426/* #define const */
427
428/* Define to nothing if compiler does not support 'volatile' qualifier. */
429/* #define volatile */
430
431/* Windows should not have HAVE_GMTIME_R defined */
432/* #undef HAVE_GMTIME_R */
433
434/* Define if the compiler supports C99 variadic macro style. */
435#if defined(_MSC_VER) && (_MSC_VER >= 1400)
436#define HAVE_VARIADIC_MACROS_C99 1
437#endif
438
439/* Define if the compiler supports the 'long long' data type. */
440#if defined(__MINGW32__) || \
441 (defined(_MSC_VER) && (_MSC_VER >= 1310)) || \
442 (defined(__BORLANDC__) && (__BORLANDC__ >= 0x561))
443#define HAVE_LONGLONG 1
444#endif
445
446/* Define to avoid VS2005 complaining about portable C functions. */
447#if defined(_MSC_VER) && (_MSC_VER >= 1400)
448#define _CRT_SECURE_NO_DEPRECATE 1
449#define _CRT_NONSTDC_NO_DEPRECATE 1
450#endif
451
452/* mingw-w64, mingw using >= MSVCR80, and visual studio >= 2005 (MSVCR80)
453 all default to 64-bit time_t unless _USE_32BIT_TIME_T is defined */
454#ifdef __MINGW32__
455# include <_mingw.h>
456#endif
457#if defined(__MINGW64_VERSION_MAJOR) || \
458 (defined(__MINGW32__) && (__MSVCRT_VERSION__ >= 0x0800)) || \
459 (defined(_MSC_VER) && (_MSC_VER >= 1400))
460# ifndef _USE_32BIT_TIME_T
461# define SIZEOF_TIME_T 8
462# else
463# define SIZEOF_TIME_T 4
464# endif
465#endif
466
467/* Define some minimum and default build targets for Visual Studio */
468#if defined(_MSC_VER)
469 /* Officially, Microsoft's Windows SDK versions 6.X does not support Windows
470 2000 as a supported build target. VS2008 default installations provides
471 an embedded Windows SDK v6.0A along with the claim that Windows 2000 is a
472 valid build target for VS2008. Popular belief is that binaries built with
473 VS2008 using Windows SDK versions v6.X and Windows 2000 as a build target
474 are functional. */
475# define VS2008_MIN_TARGET 0x0500
476
477 /* The minimum build target for VS2012 is Vista unless Update 1 is installed
478 and the v110_xp toolset is chosen. */
479# if defined(_USING_V110_SDK71_)
480# define VS2012_MIN_TARGET 0x0501
481# else
482# define VS2012_MIN_TARGET 0x0600
483# endif
484
485 /* VS2008 default build target is Windows Vista. We override default target
486 to be Windows XP. */
487# define VS2008_DEF_TARGET 0x0501
488
489 /* VS2012 default build target is Windows Vista unless Update 1 is installed
490 and the v110_xp toolset is chosen. */
491# if defined(_USING_V110_SDK71_)
492# define VS2012_DEF_TARGET 0x0501
493# else
494# define VS2012_DEF_TARGET 0x0600
495# endif
496#endif
497
498/* VS2008 default target settings and minimum build target check. */
499#if defined(_MSC_VER) && (_MSC_VER >= 1500) && (_MSC_VER <= 1600)
500# ifndef _WIN32_WINNT
501# define _WIN32_WINNT VS2008_DEF_TARGET
502# endif
503# ifndef WINVER
504# define WINVER VS2008_DEF_TARGET
505# endif
506# if (_WIN32_WINNT < VS2008_MIN_TARGET) || (WINVER < VS2008_MIN_TARGET)
507# error VS2008 does not support Windows build targets prior to Windows 2000
508# endif
509#endif
510
511/* VS2012 default target settings and minimum build target check. */
512#if defined(_MSC_VER) && (_MSC_VER >= 1700)
513# ifndef _WIN32_WINNT
514# define _WIN32_WINNT VS2012_DEF_TARGET
515# endif
516# ifndef WINVER
517# define WINVER VS2012_DEF_TARGET
518# endif
519# if (_WIN32_WINNT < VS2012_MIN_TARGET) || (WINVER < VS2012_MIN_TARGET)
520# if defined(_USING_V110_SDK71_)
521# error VS2012 does not support Windows build targets prior to Windows XP
522# else
523# error VS2012 does not support Windows build targets prior to Windows \
524Vista
525# endif
526# endif
527#endif
528
529/* When no build target is specified Pelles C 5.00 and later default build
530 target is Windows Vista. We override default target to be Windows 2000. */
531#if defined(__POCC__) && (__POCC__ >= 500)
532# ifndef _WIN32_WINNT
533# define _WIN32_WINNT 0x0500
534# endif
535# ifndef WINVER
536# define WINVER 0x0500
537# endif
538#endif
539
540/* Availability of freeaddrinfo, getaddrinfo, and if_nametoindex
541 functions is quite convoluted, compiler dependent and even build target
542 dependent. */
543#if defined(HAVE_WS2TCPIP_H)
544# if defined(__POCC__)
545# define HAVE_FREEADDRINFO 1
546# define HAVE_GETADDRINFO 1
547# define HAVE_GETADDRINFO_THREADSAFE 1
548# elif defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0501)
549# define HAVE_FREEADDRINFO 1
550# define HAVE_GETADDRINFO 1
551# define HAVE_GETADDRINFO_THREADSAFE 1
552# elif defined(_MSC_VER) && (_MSC_VER >= 1200)
553# define HAVE_FREEADDRINFO 1
554# define HAVE_GETADDRINFO 1
555# define HAVE_GETADDRINFO_THREADSAFE 1
556# endif
557#endif
558
559#if defined(__POCC__)
560# ifndef _MSC_VER
561# error Microsoft extensions /Ze compiler option is required
562# endif
563# ifndef __POCC__OLDNAMES
564# error Compatibility names /Go compiler option is required
565# endif
566#endif
567
568/* ---------------------------------------------------------------- */
569/* STRUCT RELATED */
570/* ---------------------------------------------------------------- */
571
572/* Define if you have struct sockaddr_storage. */
573#if !defined(__SALFORDC__) && !defined(__BORLANDC__)
574#define HAVE_STRUCT_SOCKADDR_STORAGE 1
575#endif
576
577/* Define if you have struct timeval. */
578#define HAVE_STRUCT_TIMEVAL 1
579
580/* Define if struct sockaddr_in6 has the sin6_scope_id member. */
581#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
582
583#if defined(HAVE_WINSOCK2_H) && defined(_WIN32_WINNT) && \
584 (_WIN32_WINNT >= 0x0600)
585#define HAVE_STRUCT_POLLFD 1
586#endif
587
588/* ---------------------------------------------------------------- */
589/* LARGE FILE SUPPORT */
590/* ---------------------------------------------------------------- */
591
592#if defined(_MSC_VER) && !defined(_WIN32_WCE)
593# if (_MSC_VER >= 900) && (_INTEGRAL_MAX_BITS >= 64)
594# define USE_WIN32_LARGE_FILES
595# else
596# define USE_WIN32_SMALL_FILES
597# endif
598#endif
599
600#if defined(__MINGW32__) && !defined(USE_WIN32_LARGE_FILES)
601# define USE_WIN32_LARGE_FILES
602#endif
603
604#if defined(__POCC__)
605# undef USE_WIN32_LARGE_FILES
606#endif
607
608#if !defined(USE_WIN32_LARGE_FILES) && !defined(USE_WIN32_SMALL_FILES)
609# define USE_WIN32_SMALL_FILES
610#endif
611
612/* ---------------------------------------------------------------- */
613/* DNS RESOLVER SPECIALTY */
614/* ---------------------------------------------------------------- */
615
616/*
617 * Undefine both USE_ARES and USE_THREADS_WIN32 for synchronous DNS.
618 */
619
620/* Define to enable c-ares asynchronous DNS lookups. */
621/* #define USE_ARES 1 */
622
623/* Default define to enable threaded asynchronous DNS lookups. */
624#if !defined(USE_SYNC_DNS) && !defined(USE_ARES) && \
625 !defined(USE_THREADS_WIN32)
626# define USE_THREADS_WIN32 1
627#endif
628
629#if defined(USE_ARES) && defined(USE_THREADS_WIN32)
630# error "Only one DNS lookup specialty may be defined at most"
631#endif
632
633/* ---------------------------------------------------------------- */
634/* LDAP SUPPORT */
635/* ---------------------------------------------------------------- */
636
637#if defined(CURL_HAS_NOVELL_LDAPSDK) || defined(CURL_HAS_MOZILLA_LDAPSDK)
638#undef USE_WIN32_LDAP
639#define HAVE_LDAP_SSL_H 1
640#define HAVE_LDAP_URL_PARSE 1
641#elif defined(CURL_HAS_OPENLDAP_LDAPSDK)
642#undef USE_WIN32_LDAP
643#define HAVE_LDAP_URL_PARSE 1
644#else
645#undef HAVE_LDAP_URL_PARSE
646#define HAVE_LDAP_SSL 1
647#define USE_WIN32_LDAP 1
648#endif
649
650#if defined(__POCC__) && defined(USE_WIN32_LDAP)
651# define CURL_DISABLE_LDAP 1
652#endif
653
654/* Define to use the Windows crypto library. */
655#if !defined(CURL_WINDOWS_APP)
656#define USE_WIN32_CRYPTO
657#endif
658
659/* Define to use Unix sockets. */
660#define USE_UNIX_SOCKETS
661
662/* ---------------------------------------------------------------- */
663/* ADDITIONAL DEFINITIONS */
664/* ---------------------------------------------------------------- */
665
666/* Define cpu-machine-OS */
667#undef OS
668#if defined(_M_IX86) || defined(__i386__) /* x86 (MSVC or gcc) */
669#define OS "i386-pc-win32"
670#elif defined(_M_X64) || defined(__x86_64__) /* x86_64 (MSVC >=2005 or gcc) */
671#define OS "x86_64-pc-win32"
672#elif defined(_M_IA64) || defined(__ia64__) /* Itanium */
673#define OS "ia64-pc-win32"
674#elif defined(_M_ARM_NT) || defined(__arm__) /* ARMv7-Thumb2 (Windows RT) */
675#define OS "thumbv7a-pc-win32"
676#elif defined(_M_ARM64) || defined(__aarch64__) /* ARM64 (Windows 10) */
677#define OS "aarch64-pc-win32"
678#else
679#define OS "unknown-pc-win32"
680#endif
681
682/* Name of package */
683#define PACKAGE "curl"
684
685/* If you want to build curl with the built-in manual */
686#define USE_MANUAL 1
687
688#if defined(__POCC__) || defined(USE_IPV6)
689# define ENABLE_IPV6 1
690#endif
691
692#endif /* HEADER_CURL_CONFIG_WIN32_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette