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