• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#ifndef Py_CONFIG_H
2#define Py_CONFIG_H
3
4/* pyconfig.h.  NOT Generated automatically by configure.
5
6This is a manually maintained version used for the Watcom,
7Borland and Microsoft Visual C++ compilers.  It is a
8standard part of the Python distribution.
9
10WINDOWS DEFINES:
11The code specific to Windows should be wrapped around one of
12the following #defines
13
14MS_WIN64 - Code specific to the MS Win64 API
15MS_WIN32 - Code specific to the MS Win32 (and Win64) API (obsolete, this covers all supported APIs)
16MS_WINDOWS - Code specific to Windows, but all versions.
17Py_ENABLE_SHARED - Code if the Python core is built as a DLL.
18
19Also note that neither "_M_IX86" or "_MSC_VER" should be used for
20any purpose other than "Windows Intel x86 specific" and "Microsoft
21compiler specific".  Therefore, these should be very rare.
22
23
24NOTE: The following symbols are deprecated:
25NT, USE_DL_EXPORT, USE_DL_IMPORT, DL_EXPORT, DL_IMPORT
26MS_CORE_DLL.
27
28WIN32 is still required for the locale module.
29
30*/
31
32/* Deprecated USE_DL_EXPORT macro - please use Py_BUILD_CORE */
33#ifdef USE_DL_EXPORT
34#       define Py_BUILD_CORE
35#endif /* USE_DL_EXPORT */
36
37/* Visual Studio 2005 introduces deprecation warnings for
38   "insecure" and POSIX functions. The insecure functions should
39   be replaced by *_s versions (according to Microsoft); the
40   POSIX functions by _* versions (which, according to Microsoft,
41   would be ISO C conforming). Neither renaming is feasible, so
42   we just silence the warnings. */
43
44#ifndef _CRT_SECURE_NO_DEPRECATE
45#define _CRT_SECURE_NO_DEPRECATE 1
46#endif
47#ifndef _CRT_NONSTDC_NO_DEPRECATE
48#define _CRT_NONSTDC_NO_DEPRECATE 1
49#endif
50
51#define HAVE_IO_H
52#define HAVE_SYS_UTIME_H
53#define HAVE_TEMPNAM
54#define HAVE_TMPFILE
55#define HAVE_TMPNAM
56#define HAVE_CLOCK
57#define HAVE_STRERROR
58
59#include <io.h>
60
61#define HAVE_STRFTIME
62#define DONT_HAVE_SIG_ALARM
63#define DONT_HAVE_SIG_PAUSE
64#define LONG_BIT        32
65#define WORD_BIT 32
66
67#define MS_WIN32 /* only support win32 and greater. */
68#define MS_WINDOWS
69#define NT_THREADS
70#define WITH_THREAD
71#ifndef NETSCAPE_PI
72#define USE_SOCKET
73#endif
74
75#if defined(Py_BUILD_CORE) || defined(Py_BUILD_CORE_BUILTIN) || defined(Py_BUILD_CORE_MODULE)
76#include <winapifamily.h>
77
78#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
79#define MS_WINDOWS_DESKTOP
80#endif
81#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
82#define MS_WINDOWS_APP
83#endif
84#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_SYSTEM)
85#define MS_WINDOWS_SYSTEM
86#endif
87#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_GAMES)
88#define MS_WINDOWS_GAMES
89#endif
90
91/* Define to 1 if you support windows console io */
92#if defined(MS_WINDOWS_DESKTOP) || defined(MS_WINDOWS_APP) || defined(MS_WINDOWS_SYSTEM)
93#define HAVE_WINDOWS_CONSOLE_IO 1
94#endif
95#endif /* Py_BUILD_CORE || Py_BUILD_CORE_BUILTIN || Py_BUILD_CORE_MODULE */
96
97/* Define to 1 if you want to disable the GIL */
98/* Uncomment the definition for free-threaded builds, or define it manually
99 * when compiling extension modules. Note that we test with #ifdef, so
100 * defining as 0 will still disable the GIL. */
101#ifndef Py_GIL_DISABLED
102/* #define Py_GIL_DISABLED 1 */
103#endif
104
105/* Compiler specific defines */
106
107/* ------------------------------------------------------------------------*/
108/* Microsoft C defines _MSC_VER, as does clang-cl.exe */
109#ifdef _MSC_VER
110
111/* We want COMPILER to expand to a string containing _MSC_VER's *value*.
112 * This is horridly tricky, because the stringization operator only works
113 * on macro arguments, and doesn't evaluate macros passed *as* arguments.
114 */
115#define _Py_PASTE_VERSION(SUFFIX) \
116        ("[MSC v." _Py_STRINGIZE(_MSC_VER) " " SUFFIX "]")
117/* e.g., this produces, after compile-time string catenation,
118 *      ("[MSC v.1900 64 bit (Intel)]")
119 *
120 * _Py_STRINGIZE(_MSC_VER) expands to
121 * _Py_STRINGIZE1(_MSC_VER) and this second macro call is scanned
122 *      again for macros and so further expands to
123 * _Py_STRINGIZE1(1900) which then expands to
124 * "1900"
125 */
126#define _Py_STRINGIZE(X) _Py_STRINGIZE1(X)
127#define _Py_STRINGIZE1(X) #X
128
129/* MSVC defines _WINxx to differentiate the windows platform types
130
131   Note that for compatibility reasons _WIN32 is defined on Win32
132   *and* on Win64. For the same reasons, in Python, MS_WIN32 is
133   defined on Win32 *and* Win64. Win32 only code must therefore be
134   guarded as follows:
135        #if defined(MS_WIN32) && !defined(MS_WIN64)
136*/
137#ifdef _WIN64
138#define MS_WIN64
139#endif
140
141/* set the COMPILER and support tier
142 *
143 * win_amd64 MSVC (x86_64-pc-windows-msvc): 1
144 * win32 MSVC (i686-pc-windows-msvc): 1
145 * win_arm64 MSVC (aarch64-pc-windows-msvc): 3
146 * other archs and ICC: 0
147 */
148#ifdef MS_WIN64
149#if defined(_M_X64) || defined(_M_AMD64)
150#if defined(__clang__)
151#define COMPILER ("[Clang " __clang_version__ "] 64 bit (AMD64) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
152#define PY_SUPPORT_TIER 0
153#elif defined(__INTEL_COMPILER)
154#define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 64 bit (amd64) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
155#define PY_SUPPORT_TIER 0
156#else
157#define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
158#define PY_SUPPORT_TIER 1
159#endif /* __clang__ */
160#define PYD_PLATFORM_TAG "win_amd64"
161#elif defined(_M_ARM64)
162#define COMPILER _Py_PASTE_VERSION("64 bit (ARM64)")
163#define PY_SUPPORT_TIER 3
164#define PYD_PLATFORM_TAG "win_arm64"
165#else
166#define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")
167#define PY_SUPPORT_TIER 0
168#endif
169#endif /* MS_WIN64 */
170
171/* set the version macros for the windows headers */
172/* Python 3.12+ requires Windows 8.1 or greater */
173#define Py_WINVER 0x0603 /* _WIN32_WINNT_WINBLUE (8.1) */
174#define Py_NTDDI NTDDI_WINBLUE
175
176/* We only set these values when building Python - we don't want to force
177   these values on extensions, as that will affect the prototypes and
178   structures exposed in the Windows headers. Even when building Python, we
179   allow a single source file to override this - they may need access to
180   structures etc so it can optionally use new Windows features if it
181   determines at runtime they are available.
182*/
183#if defined(Py_BUILD_CORE) || defined(Py_BUILD_CORE_BUILTIN) || defined(Py_BUILD_CORE_MODULE)
184#ifndef NTDDI_VERSION
185#define NTDDI_VERSION Py_NTDDI
186#endif
187#ifndef WINVER
188#define WINVER Py_WINVER
189#endif
190#ifndef _WIN32_WINNT
191#define _WIN32_WINNT Py_WINVER
192#endif
193#endif
194
195/* _W64 is not defined for VC6 or eVC4 */
196#ifndef _W64
197#define _W64
198#endif
199
200/* Define like size_t, omitting the "unsigned" */
201#ifdef MS_WIN64
202typedef __int64 Py_ssize_t;
203#   define PY_SSIZE_T_MAX LLONG_MAX
204#else
205typedef _W64 int Py_ssize_t;
206#   define PY_SSIZE_T_MAX INT_MAX
207#endif
208#define HAVE_PY_SSIZE_T 1
209
210#if defined(MS_WIN32) && !defined(MS_WIN64)
211#if defined(_M_IX86)
212#if defined(__clang__)
213#define COMPILER ("[Clang " __clang_version__ "] 32 bit (Intel) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
214#define PY_SUPPORT_TIER 0
215#elif defined(__INTEL_COMPILER)
216#define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 32 bit (Intel) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
217#define PY_SUPPORT_TIER 0
218#else
219#define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
220#define PY_SUPPORT_TIER 1
221#endif /* __clang__ */
222#define PYD_PLATFORM_TAG "win32"
223#elif defined(_M_ARM)
224#define COMPILER _Py_PASTE_VERSION("32 bit (ARM)")
225#define PYD_PLATFORM_TAG "win_arm32"
226#define PY_SUPPORT_TIER 0
227#else
228#define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")
229#define PY_SUPPORT_TIER 0
230#endif
231#endif /* MS_WIN32 && !MS_WIN64 */
232
233typedef int pid_t;
234
235/* define some ANSI types that are not defined in earlier Win headers */
236#if _MSC_VER >= 1200
237/* This file only exists in VC 6.0 or higher */
238#include <basetsd.h>
239#endif
240
241#endif /* _MSC_VER */
242
243/* ------------------------------------------------------------------------*/
244/* mingw and mingw-w64 define __MINGW32__ */
245#ifdef __MINGW32__
246
247#ifdef _WIN64
248#define MS_WIN64
249#endif
250
251#endif /* __MINGW32__*/
252
253/* ------------------------------------------------------------------------*/
254/* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
255#if defined(__GNUC__) && defined(_WIN32)
256/* XXX These defines are likely incomplete, but should be easy to fix.
257   They should be complete enough to build extension modules. */
258/* Suggested by Rene Liebscher <R.Liebscher@gmx.de> to avoid a GCC 2.91.*
259   bug that requires structure imports.  More recent versions of the
260   compiler don't exhibit this bug.
261*/
262#if (__GNUC__==2) && (__GNUC_MINOR__<=91)
263#warning "Please use an up-to-date version of gcc! (>2.91 recommended)"
264#endif
265
266#define COMPILER "[gcc]"
267#define PY_LONG_LONG long long
268#define PY_LLONG_MIN LLONG_MIN
269#define PY_LLONG_MAX LLONG_MAX
270#define PY_ULLONG_MAX ULLONG_MAX
271#endif /* GNUC */
272
273/* ------------------------------------------------------------------------*/
274/* lcc-win32 defines __LCC__ */
275#if defined(__LCC__)
276/* XXX These defines are likely incomplete, but should be easy to fix.
277   They should be complete enough to build extension modules. */
278
279#define COMPILER "[lcc-win32]"
280typedef int pid_t;
281/* __declspec() is supported here too - do nothing to get the defaults */
282
283#endif /* LCC */
284
285/* ------------------------------------------------------------------------*/
286/* End of compilers - finish up */
287
288#ifndef NO_STDIO_H
289#       include <stdio.h>
290#endif
291
292/* 64 bit ints are usually spelt __int64 unless compiler has overridden */
293#ifndef PY_LONG_LONG
294#       define PY_LONG_LONG __int64
295#       define PY_LLONG_MAX _I64_MAX
296#       define PY_LLONG_MIN _I64_MIN
297#       define PY_ULLONG_MAX _UI64_MAX
298#endif
299
300/* For Windows the Python core is in a DLL by default.  Test
301Py_NO_ENABLE_SHARED to find out.  Also support MS_NO_COREDLL for b/w compat */
302#if !defined(MS_NO_COREDLL) && !defined(Py_NO_ENABLE_SHARED)
303#       define Py_ENABLE_SHARED 1 /* standard symbol for shared library */
304#       define MS_COREDLL       /* deprecated old symbol */
305#endif /* !MS_NO_COREDLL && ... */
306
307/*  All windows compilers that use this header support __declspec */
308#define HAVE_DECLSPEC_DLL
309
310/* For an MSVC DLL, we can nominate the .lib files used by extensions */
311#ifdef MS_COREDLL
312#       if !defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_BUILTIN)
313                /* not building the core - must be an ext */
314#               if defined(_MSC_VER)
315                        /* So MSVC users need not specify the .lib
316                        file in their Makefile */
317#                       if defined(Py_GIL_DISABLED)
318#                       if defined(_DEBUG)
319#                               pragma comment(lib,"python313t_d.lib")
320#                       elif defined(Py_LIMITED_API)
321#                               pragma comment(lib,"python3t.lib")
322#                       else
323#                               pragma comment(lib,"python313t.lib")
324#                       endif /* _DEBUG */
325#                       else /* Py_GIL_DISABLED */
326#                       if defined(_DEBUG)
327#                               pragma comment(lib,"python313_d.lib")
328#                       elif defined(Py_LIMITED_API)
329#                               pragma comment(lib,"python3.lib")
330#                       else
331#                               pragma comment(lib,"python313.lib")
332#                       endif /* _DEBUG */
333#                       endif /* Py_GIL_DISABLED */
334#               endif /* _MSC_VER */
335#       endif /* Py_BUILD_CORE */
336#endif /* MS_COREDLL */
337
338#ifdef MS_WIN64
339/* maintain "win32" sys.platform for backward compatibility of Python code,
340   the Win64 API should be close enough to the Win32 API to make this
341   preferable */
342#       define PLATFORM "win32"
343#       define SIZEOF_VOID_P 8
344#       define SIZEOF_TIME_T 8
345#       define SIZEOF_OFF_T 4
346#       define SIZEOF_FPOS_T 8
347#       define SIZEOF_HKEY 8
348#       define SIZEOF_SIZE_T 8
349#       define ALIGNOF_SIZE_T 8
350#       define ALIGNOF_MAX_ALIGN_T 8
351/* configure.ac defines HAVE_LARGEFILE_SUPPORT iff
352   sizeof(off_t) > sizeof(long), and sizeof(long long) >= sizeof(off_t).
353   On Win64 the second condition is not true, but if fpos_t replaces off_t
354   then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
355   should define this. */
356#       define HAVE_LARGEFILE_SUPPORT
357#elif defined(MS_WIN32)
358#       define PLATFORM "win32"
359#       define HAVE_LARGEFILE_SUPPORT
360#       define SIZEOF_VOID_P 4
361#       define SIZEOF_OFF_T 4
362#       define SIZEOF_FPOS_T 8
363#       define SIZEOF_HKEY 4
364#       define SIZEOF_SIZE_T 4
365#       define ALIGNOF_SIZE_T 4
366        /* MS VS2005 changes time_t to a 64-bit type on all platforms */
367#       if defined(_MSC_VER) && _MSC_VER >= 1400
368#       define SIZEOF_TIME_T 8
369#       else
370#       define SIZEOF_TIME_T 4
371#       endif
372#       define ALIGNOF_MAX_ALIGN_T 8
373#endif
374
375#ifdef _DEBUG
376#       define Py_DEBUG
377#endif
378
379
380#ifdef MS_WIN32
381
382#define SIZEOF_SHORT 2
383#define SIZEOF_INT 4
384#define SIZEOF_LONG 4
385#define ALIGNOF_LONG 4
386#define SIZEOF_LONG_LONG 8
387#define SIZEOF_DOUBLE 8
388#define SIZEOF_FLOAT 4
389
390/* VC 7.1 has them and VC 6.0 does not.  VC 6.0 has a version number of 1200.
391   Microsoft eMbedded Visual C++ 4.0 has a version number of 1201 and doesn't
392   define these.
393   If some compiler does not provide them, modify the #if appropriately. */
394#if defined(_MSC_VER)
395#if _MSC_VER > 1300
396#define HAVE_UINTPTR_T 1
397#define HAVE_INTPTR_T 1
398#else
399/* VC6, VS 2002 and eVC4 don't support the C99 LL suffix for 64-bit integer literals */
400#define Py_LL(x) x##I64
401#endif  /* _MSC_VER > 1300  */
402#endif  /* _MSC_VER */
403
404#endif
405
406/* define signed and unsigned exact-width 32-bit and 64-bit types, used in the
407   implementation of Python integers. */
408#define PY_UINT32_T uint32_t
409#define PY_UINT64_T uint64_t
410#define PY_INT32_T int32_t
411#define PY_INT64_T int64_t
412
413/* Fairly standard from here! */
414
415/* Define if on AIX 3.
416   System headers sometimes define this.
417   We just want to avoid a redefinition error message.  */
418#ifndef _ALL_SOURCE
419/* #undef _ALL_SOURCE */
420#endif
421
422/* Define to empty if the keyword does not work.  */
423/* #define const  */
424
425/* Define to 1 if you have the <conio.h> header file. */
426#define HAVE_CONIO_H 1
427
428/* Define to 1 if you have the <direct.h> header file. */
429#define HAVE_DIRECT_H 1
430
431/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
432   */
433#define HAVE_DECL_TZNAME 1
434
435/* Define if you have dirent.h.  */
436/* #define DIRENT 1 */
437
438/* Define to the type of elements in the array set by `getgroups'.
439   Usually this is either `int' or `gid_t'.  */
440/* #undef GETGROUPS_T */
441
442/* Define to `int' if <sys/types.h> doesn't define.  */
443/* #undef gid_t */
444
445/* Define if your struct tm has tm_zone.  */
446/* #undef HAVE_TM_ZONE */
447
448/* Define if you don't have tm_zone but do have the external array
449   tzname.  */
450#define HAVE_TZNAME
451
452/* Define to `int' if <sys/types.h> doesn't define.  */
453/* #undef mode_t */
454
455/* Define if you don't have dirent.h, but have ndir.h.  */
456/* #undef NDIR */
457
458/* Define to `long' if <sys/types.h> doesn't define.  */
459/* #undef off_t */
460
461/* Define to `int' if <sys/types.h> doesn't define.  */
462/* #undef pid_t */
463
464/* Define if the system does not provide POSIX.1 features except
465   with this defined.  */
466/* #undef _POSIX_1_SOURCE */
467
468/* Define if you need to in order for stat and other things to work.  */
469/* #undef _POSIX_SOURCE */
470
471/* Define as the return type of signal handlers (int or void).  */
472#define RETSIGTYPE void
473
474/* Define to `unsigned' if <sys/types.h> doesn't define.  */
475/* #undef size_t */
476
477/* Define if you have the ANSI C header files.  */
478#define STDC_HEADERS 1
479
480/* Define if you don't have dirent.h, but have sys/dir.h.  */
481/* #undef SYSDIR */
482
483/* Define if you don't have dirent.h, but have sys/ndir.h.  */
484/* #undef SYSNDIR */
485
486/* Define if you can safely include both <sys/time.h> and <time.h>.  */
487/* #undef TIME_WITH_SYS_TIME */
488
489/* Define if your <sys/time.h> declares struct tm.  */
490/* #define TM_IN_SYS_TIME 1 */
491
492/* Define to `int' if <sys/types.h> doesn't define.  */
493/* #undef uid_t */
494
495/* Define if the closedir function returns void instead of int.  */
496/* #undef VOID_CLOSEDIR */
497
498/* Define if getpgrp() must be called as getpgrp(0)
499   and (consequently) setpgrp() as setpgrp(0, 0). */
500/* #undef GETPGRP_HAVE_ARGS */
501
502/* Define this if your time.h defines altzone */
503/* #define HAVE_ALTZONE */
504
505/* Define if you have the putenv function.  */
506#define HAVE_PUTENV
507
508/* Define if your compiler supports function prototypes */
509#define HAVE_PROTOTYPES
510
511/* Define if  you can safely include both <sys/select.h> and <sys/time.h>
512   (which you can't on SCO ODT 3.0). */
513/* #undef SYS_SELECT_WITH_SYS_TIME */
514
515/* Define if you want build the _decimal module using a coroutine-local rather
516   than a thread-local context */
517#define WITH_DECIMAL_CONTEXTVAR 1
518
519/* Define if you want documentation strings in extension modules */
520#define WITH_DOC_STRINGS 1
521
522/* Define if you want to compile in rudimentary thread support */
523/* #undef WITH_THREAD */
524
525/* Define if you want to use the GNU readline library */
526/* #define WITH_READLINE 1 */
527
528/* Use Python's own small-block memory-allocator. */
529#define WITH_PYMALLOC 1
530
531/* Define if you want to compile in mimalloc memory allocator. */
532#define WITH_MIMALLOC 1
533
534/* Define if you want to compile in object freelists optimization */
535#define WITH_FREELISTS 1
536
537/* Define if you have clock.  */
538/* #define HAVE_CLOCK */
539
540/* Define when any dynamic module loading is enabled */
541#define HAVE_DYNAMIC_LOADING
542
543/* Define if you have ftime.  */
544#define HAVE_FTIME
545
546/* Define if you have getpeername.  */
547#define HAVE_GETPEERNAME
548
549/* Define if you have getpgrp.  */
550/* #undef HAVE_GETPGRP */
551
552/* Define if you have getpid.  */
553#define HAVE_GETPID
554
555/* Define if you have gettimeofday.  */
556/* #undef HAVE_GETTIMEOFDAY */
557
558/* Define if you have getwd.  */
559/* #undef HAVE_GETWD */
560
561/* Define if you have lstat.  */
562/* #undef HAVE_LSTAT */
563
564/* Define if you have the mktime function.  */
565#define HAVE_MKTIME
566
567/* Define if you have nice.  */
568/* #undef HAVE_NICE */
569
570/* Define if you have readlink.  */
571/* #undef HAVE_READLINK */
572
573/* Define if you have setpgid.  */
574/* #undef HAVE_SETPGID */
575
576/* Define if you have setpgrp.  */
577/* #undef HAVE_SETPGRP */
578
579/* Define if you have setsid.  */
580/* #undef HAVE_SETSID */
581
582/* Define if you have setvbuf.  */
583#define HAVE_SETVBUF
584
585/* Define if you have siginterrupt.  */
586/* #undef HAVE_SIGINTERRUPT */
587
588/* Define to 1 if you have the `shutdown' function. */
589#define HAVE_SHUTDOWN 1
590
591/* Define if you have symlink.  */
592/* #undef HAVE_SYMLINK */
593
594/* Define if you have tcgetpgrp.  */
595/* #undef HAVE_TCGETPGRP */
596
597/* Define if you have tcsetpgrp.  */
598/* #undef HAVE_TCSETPGRP */
599
600/* Define if you have times.  */
601/* #undef HAVE_TIMES */
602
603/* Define to 1 if you have the `umask' function. */
604#define HAVE_UMASK 1
605
606/* Define if you have uname.  */
607/* #undef HAVE_UNAME */
608
609/* Define if you have waitpid.  */
610/* #undef HAVE_WAITPID */
611
612/* Define to 1 if you have the `wcsftime' function. */
613#if defined(_MSC_VER) && _MSC_VER >= 1310
614#define HAVE_WCSFTIME 1
615#endif
616
617/* Define to 1 if you have the `wcscoll' function. */
618#define HAVE_WCSCOLL 1
619
620/* Define to 1 if you have the `wcsxfrm' function. */
621#define HAVE_WCSXFRM 1
622
623/* Define if the zlib library has inflateCopy */
624#define HAVE_ZLIB_COPY 1
625
626/* Define if you have the <dlfcn.h> header file.  */
627/* #undef HAVE_DLFCN_H */
628
629/* Define to 1 if you have the <errno.h> header file. */
630#define HAVE_ERRNO_H 1
631
632/* Define if you have the <fcntl.h> header file.  */
633#define HAVE_FCNTL_H 1
634
635/* Define to 1 if you have the <process.h> header file. */
636#define HAVE_PROCESS_H 1
637
638/* Define to 1 if you have the <signal.h> header file. */
639#define HAVE_SIGNAL_H 1
640
641/* Define if you have the <stddef.h> header file.  */
642#define HAVE_STDDEF_H 1
643
644/* Define if you have the <sys/audioio.h> header file.  */
645/* #undef HAVE_SYS_AUDIOIO_H */
646
647/* Define if you have the <sys/param.h> header file.  */
648/* #define HAVE_SYS_PARAM_H 1 */
649
650/* Define if you have the <sys/select.h> header file.  */
651/* #define HAVE_SYS_SELECT_H 1 */
652
653/* Define to 1 if you have the <sys/stat.h> header file.  */
654#define HAVE_SYS_STAT_H 1
655
656/* Define if you have the <sys/time.h> header file.  */
657/* #define HAVE_SYS_TIME_H 1 */
658
659/* Define if you have the <sys/times.h> header file.  */
660/* #define HAVE_SYS_TIMES_H 1 */
661
662/* Define to 1 if you have the <sys/types.h> header file.  */
663#define HAVE_SYS_TYPES_H 1
664
665/* Define if you have the <sys/un.h> header file.  */
666/* #define HAVE_SYS_UN_H 1 */
667
668/* Define if you have the <sys/utime.h> header file.  */
669/* #define HAVE_SYS_UTIME_H 1 */
670
671/* Define if you have the <sys/utsname.h> header file.  */
672/* #define HAVE_SYS_UTSNAME_H 1 */
673
674/* Define if you have the <unistd.h> header file.  */
675/* #define HAVE_UNISTD_H 1 */
676
677/* Define if you have the <utime.h> header file.  */
678/* #define HAVE_UTIME_H 1 */
679
680/* Define if the compiler provides a wchar.h header file. */
681#define HAVE_WCHAR_H 1
682
683/* The size of `wchar_t', as computed by sizeof. */
684#define SIZEOF_WCHAR_T 2
685
686/* The size of `_Bool', as computed by sizeof. */
687#define SIZEOF__BOOL 1
688
689/* The size of `pid_t', as computed by sizeof. */
690#define SIZEOF_PID_T SIZEOF_INT
691
692/* Define if you have the dl library (-ldl).  */
693/* #undef HAVE_LIBDL */
694
695/* Define if you have the mpc library (-lmpc).  */
696/* #undef HAVE_LIBMPC */
697
698/* Define if you have the seq library (-lseq).  */
699/* #undef HAVE_LIBSEQ */
700
701/* Define if you have the socket library (-lsocket).  */
702#define HAVE_LIBSOCKET 1
703
704/* Define if you have the sun library (-lsun).  */
705/* #undef HAVE_LIBSUN */
706
707/* Define if you have the termcap library (-ltermcap).  */
708/* #undef HAVE_LIBTERMCAP */
709
710/* Define if you have the termlib library (-ltermlib).  */
711/* #undef HAVE_LIBTERMLIB */
712
713/* Define if you have the thread library (-lthread).  */
714/* #undef HAVE_LIBTHREAD */
715
716/* WinSock does not use a bitmask in select, and uses
717   socket handles greater than FD_SETSIZE */
718#define Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE
719
720/* Define if C doubles are 64-bit IEEE 754 binary format, stored with the
721   least significant byte first */
722#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1
723
724/* Define to 1 if you have the `erf' function. */
725#define HAVE_ERF 1
726
727/* Define to 1 if you have the `erfc' function. */
728#define HAVE_ERFC 1
729
730// netdb.h functions (provided by winsock.h)
731#define HAVE_GETHOSTNAME 1
732#define HAVE_GETHOSTBYADDR 1
733#define HAVE_GETHOSTBYNAME 1
734#define HAVE_GETPROTOBYNAME 1
735#define HAVE_GETSERVBYNAME 1
736#define HAVE_GETSERVBYPORT 1
737// sys/socket.h functions (provided by winsock.h)
738#define HAVE_INET_PTON 1
739#define HAVE_INET_NTOA 1
740#define HAVE_ACCEPT 1
741#define HAVE_BIND 1
742#define HAVE_CONNECT 1
743#define HAVE_GETSOCKNAME 1
744#define HAVE_LISTEN 1
745#define HAVE_RECVFROM 1
746#define HAVE_SENDTO 1
747#define HAVE_SETSOCKOPT 1
748#define HAVE_SOCKET 1
749
750/* Define to 1 if you have the `dup' function. */
751#define HAVE_DUP 1
752
753/* framework name */
754#define _PYTHONFRAMEWORK ""
755
756/* Define if libssl has X509_VERIFY_PARAM_set1_host and related function */
757#define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
758
759#endif /* !Py_CONFIG_H */
760