codekingpro/portable-devtools
114k
1#ifndef Py_CONFIG_H2#define Py_CONFIG_H3 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 a8standard part of the Python distribution.9 10WINDOWS DEFINES:11The code specific to Windows should be wrapped around one of12the following #defines13 14MS_WIN64 - Code specific to the MS Win64 API15MS_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 for20any purpose other than "Windows Intel x86 specific" and "Microsoft21compiler 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_IMPORT26MS_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_EXPORT34# define Py_BUILD_CORE35#endif /* USE_DL_EXPORT */36 37/* Visual Studio 2005 introduces deprecation warnings for38 "insecure" and POSIX functions. The insecure functions should39 be replaced by *_s versions (according to Microsoft); the40 POSIX functions by _* versions (which, according to Microsoft,41 would be ISO C conforming). Neither renaming is feasible, so42 we just silence the warnings. */43 44#ifndef _CRT_SECURE_NO_DEPRECATE45#define _CRT_SECURE_NO_DEPRECATE 146#endif47#ifndef _CRT_NONSTDC_NO_DEPRECATE48#define _CRT_NONSTDC_NO_DEPRECATE 149#endif50 51#define HAVE_IO_H52#define HAVE_SYS_UTIME_H53#define HAVE_TEMPNAM54#define HAVE_TMPFILE55#define HAVE_TMPNAM56#define HAVE_CLOCK57#define HAVE_STRERROR58 59#include <io.h>60 61#define HAVE_STRFTIME62#define DONT_HAVE_SIG_ALARM63#define DONT_HAVE_SIG_PAUSE64#define LONG_BIT 3265#define WORD_BIT 3266 67#define MS_WIN32 /* only support win32 and greater. */68#define MS_WINDOWS69#define NT_THREADS70#define WITH_THREAD71#ifndef NETSCAPE_PI72#define USE_SOCKET73#endif74 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_DESKTOP80#endif81#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)82#define MS_WINDOWS_APP83#endif84#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_SYSTEM)85#define MS_WINDOWS_SYSTEM86#endif87#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_GAMES)88#define MS_WINDOWS_GAMES89#endif90 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 194#endif95#endif /* Py_BUILD_CORE || Py_BUILD_CORE_BUILTIN || Py_BUILD_CORE_MODULE */96 97/* Define to 1 when compiling for experimental free-threaded builds */98#ifdef Py_GIL_DISABLED99/* We undefine if it was set to zero because all later checks are #ifdef.100 * Note that non-Windows builds do not do this, and so every effort should101 * be made to avoid defining the variable at all when not desired. However,102 * sysconfig.get_config_var always returns a 1 or a 0, and so it seems likely103 * that a build backend will define it with the value.104 */105#if Py_GIL_DISABLED == 0106#undef Py_GIL_DISABLED107#endif108#endif109 110/* Compiler specific defines */111 112/* ------------------------------------------------------------------------*/113/* Microsoft C defines _MSC_VER, as does clang-cl.exe */114#ifdef _MSC_VER115 116/* We want COMPILER to expand to a string containing _MSC_VER's *value*.117 * This is horridly tricky, because the stringization operator only works118 * on macro arguments, and doesn't evaluate macros passed *as* arguments.119 */120#define _Py_PASTE_VERSION(SUFFIX) \121 ("[MSC v." _Py_STRINGIZE(_MSC_VER) " " SUFFIX "]")122/* e.g., this produces, after compile-time string catenation,123 * ("[MSC v.1900 64 bit (Intel)]")124 *125 * _Py_STRINGIZE(_MSC_VER) expands to126 * _Py_STRINGIZE1(_MSC_VER) and this second macro call is scanned127 * again for macros and so further expands to128 * _Py_STRINGIZE1(1900) which then expands to129 * "1900"130 */131#define _Py_STRINGIZE(X) _Py_STRINGIZE1(X)132#define _Py_STRINGIZE1(X) #X133 134/* MSVC defines _WINxx to differentiate the windows platform types135 136 Note that for compatibility reasons _WIN32 is defined on Win32137 *and* on Win64. For the same reasons, in Python, MS_WIN32 is138 defined on Win32 *and* Win64. Win32 only code must therefore be139 guarded as follows:140 #if defined(MS_WIN32) && !defined(MS_WIN64)141*/142#ifdef _WIN64143#define MS_WIN64144#endif145 146/* set the COMPILER and support tier147 *148 * win_amd64 MSVC (x86_64-pc-windows-msvc): 1149 * win32 MSVC (i686-pc-windows-msvc): 1150 * win_arm64 MSVC (aarch64-pc-windows-msvc): 3151 * other archs and ICC: 0152 */153#ifdef MS_WIN64154#if defined(_M_X64) || defined(_M_AMD64)155#if defined(__clang__)156#define COMPILER ("[Clang " __clang_version__ "] 64 bit (AMD64) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")157#define PY_SUPPORT_TIER 0158#elif defined(__INTEL_COMPILER)159#define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 64 bit (amd64) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")160#define PY_SUPPORT_TIER 0161#else162#define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")163#define PY_SUPPORT_TIER 1164#endif /* __clang__ */165#define PYD_PLATFORM_TAG "win_amd64"166#elif defined(_M_ARM64)167#define COMPILER _Py_PASTE_VERSION("64 bit (ARM64)")168#define PY_SUPPORT_TIER 3169#define PYD_PLATFORM_TAG "win_arm64"170#else171#define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")172#define PY_SUPPORT_TIER 0173#endif174#endif /* MS_WIN64 */175 176/* set the version macros for the windows headers */177/* Python 3.13+ requires Windows 10 or greater */178#define Py_WINVER 0x0A00 /* _WIN32_WINNT_WIN10 */179#define Py_NTDDI NTDDI_WIN10180 181/* We only set these values when building Python - we don't want to force182 these values on extensions, as that will affect the prototypes and183 structures exposed in the Windows headers. Even when building Python, we184 allow a single source file to override this - they may need access to185 structures etc so it can optionally use new Windows features if it186 determines at runtime they are available.187*/188#if defined(Py_BUILD_CORE) || defined(Py_BUILD_CORE_BUILTIN) || defined(Py_BUILD_CORE_MODULE)189#ifndef NTDDI_VERSION190#define NTDDI_VERSION Py_NTDDI191#endif192#ifndef WINVER193#define WINVER Py_WINVER194#endif195#ifndef _WIN32_WINNT196#define _WIN32_WINNT Py_WINVER197#endif198#endif199 200/* _W64 is not defined for VC6 or eVC4 */201#ifndef _W64202#define _W64203#endif204 205/* Define like size_t, omitting the "unsigned" */206#ifdef MS_WIN64207typedef __int64 Py_ssize_t;208# define PY_SSIZE_T_MAX LLONG_MAX209#else210typedef _W64 int Py_ssize_t;211# define PY_SSIZE_T_MAX INT_MAX212#endif213#define HAVE_PY_SSIZE_T 1214 215#if defined(MS_WIN32) && !defined(MS_WIN64)216#if defined(_M_IX86)217#if defined(__clang__)218#define COMPILER ("[Clang " __clang_version__ "] 32 bit (Intel) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")219#define PY_SUPPORT_TIER 0220#elif defined(__INTEL_COMPILER)221#define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 32 bit (Intel) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")222#define PY_SUPPORT_TIER 0223#else224#define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")225#define PY_SUPPORT_TIER 1226#endif /* __clang__ */227#define PYD_PLATFORM_TAG "win32"228#elif defined(_M_ARM)229#define COMPILER _Py_PASTE_VERSION("32 bit (ARM)")230#define PYD_PLATFORM_TAG "win_arm32"231#define PY_SUPPORT_TIER 0232#else233#define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")234#define PY_SUPPORT_TIER 0235#endif236#endif /* MS_WIN32 && !MS_WIN64 */237 238/* define some ANSI types that are not defined in earlier Win headers */239#if _MSC_VER >= 1200240/* This file only exists in VC 6.0 or higher */241#include <basetsd.h>242#endif243 244#endif /* _MSC_VER */245 246/* ------------------------------------------------------------------------*/247/* mingw and mingw-w64 define __MINGW32__ */248#ifdef __MINGW32__249 250#ifdef _WIN64251#define MS_WIN64252#endif253 254#endif /* __MINGW32__*/255 256/* ------------------------------------------------------------------------*/257/* egcs/gnu-win32 defines __GNUC__ and _WIN32 */258#if defined(__GNUC__) && defined(_WIN32)259/* XXX These defines are likely incomplete, but should be easy to fix.260 They should be complete enough to build extension modules. */261/* Suggested by Rene Liebscher <R.Liebscher@gmx.de> to avoid a GCC 2.91.*262 bug that requires structure imports. More recent versions of the263 compiler don't exhibit this bug.264*/265#if (__GNUC__==2) && (__GNUC_MINOR__<=91)266#warning "Please use an up-to-date version of gcc! (>2.91 recommended)"267#endif268 269#define COMPILER "[gcc]"270#define PY_LONG_LONG long long271#define PY_LLONG_MIN LLONG_MIN272#define PY_LLONG_MAX LLONG_MAX273#define PY_ULLONG_MAX ULLONG_MAX274#endif /* GNUC */275 276/* ------------------------------------------------------------------------*/277/* lcc-win32 defines __LCC__ */278#if defined(__LCC__)279/* XXX These defines are likely incomplete, but should be easy to fix.280 They should be complete enough to build extension modules. */281 282#define COMPILER "[lcc-win32]"283typedef int pid_t;284/* __declspec() is supported here too - do nothing to get the defaults */285 286#endif /* LCC */287 288/* ------------------------------------------------------------------------*/289/* End of compilers - finish up */290 291#ifndef NO_STDIO_H292# include <stdio.h>293#endif294 295/* 64 bit ints are usually spelt __int64 unless compiler has overridden */296#ifndef PY_LONG_LONG297# define PY_LONG_LONG __int64298# define PY_LLONG_MAX _I64_MAX299# define PY_LLONG_MIN _I64_MIN300# define PY_ULLONG_MAX _UI64_MAX301#endif302 303/* For Windows the Python core is in a DLL by default. Test304Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */305#if !defined(MS_NO_COREDLL) && !defined(Py_NO_ENABLE_SHARED)306# define Py_ENABLE_SHARED 1 /* standard symbol for shared library */307# define MS_COREDLL /* deprecated old symbol */308#endif /* !MS_NO_COREDLL && ... */309 310/* All windows compilers that use this header support __declspec */311#define HAVE_DECLSPEC_DLL312 313/* For an MSVC DLL, we can nominate the .lib files used by extensions */314#ifdef MS_COREDLL315# if !defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_BUILTIN)316 /* not building the core - must be an ext */317# if defined(_MSC_VER) && !defined(Py_NO_LINK_LIB)318 /* So MSVC users need not specify the .lib319 file in their Makefile */320 /* Define Py_NO_LINK_LIB to build extension disabling pragma321 based auto-linking.322 This is relevant when using build-system generator (e.g CMake) where323 the linking is explicitly handled */324# if defined(Py_GIL_DISABLED)325# if defined(_DEBUG)326# pragma comment(lib,"python314t_d.lib")327# elif defined(Py_LIMITED_API)328# pragma comment(lib,"python3t.lib")329# else330# pragma comment(lib,"python314t.lib")331# endif /* _DEBUG */332# else /* Py_GIL_DISABLED */333# if defined(_DEBUG)334# pragma comment(lib,"python314_d.lib")335# elif defined(Py_LIMITED_API)336# pragma comment(lib,"python3.lib")337# else338# pragma comment(lib,"python314.lib")339# endif /* _DEBUG */340# endif /* Py_GIL_DISABLED */341# endif /* _MSC_VER && !Py_NO_LINK_LIB */342# endif /* Py_BUILD_CORE */343#endif /* MS_COREDLL */344 345#ifdef MS_WIN64346/* maintain "win32" sys.platform for backward compatibility of Python code,347 the Win64 API should be close enough to the Win32 API to make this348 preferable */349# define PLATFORM "win32"350# define SIZEOF_VOID_P 8351# define SIZEOF_TIME_T 8352# define SIZEOF_OFF_T 4353# define SIZEOF_FPOS_T 8354# define SIZEOF_HKEY 8355# define SIZEOF_SIZE_T 8356# define ALIGNOF_SIZE_T 8357# define ALIGNOF_MAX_ALIGN_T 8358/* configure.ac defines HAVE_LARGEFILE_SUPPORT iff359 sizeof(off_t) > sizeof(long), and sizeof(long long) >= sizeof(off_t).360 On Win64 the second condition is not true, but if fpos_t replaces off_t361 then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64362 should define this. */363# define HAVE_LARGEFILE_SUPPORT364#elif defined(MS_WIN32)365# define PLATFORM "win32"366# define HAVE_LARGEFILE_SUPPORT367# define SIZEOF_VOID_P 4368# define SIZEOF_OFF_T 4369# define SIZEOF_FPOS_T 8370# define SIZEOF_HKEY 4371# define SIZEOF_SIZE_T 4372# define ALIGNOF_SIZE_T 4373 /* MS VS2005 changes time_t to a 64-bit type on all platforms */374# if defined(_MSC_VER) && _MSC_VER >= 1400375# define SIZEOF_TIME_T 8376# else377# define SIZEOF_TIME_T 4378# endif379# define ALIGNOF_MAX_ALIGN_T 8380#endif381 382#ifdef _DEBUG383# define Py_DEBUG384#endif385 386 387#ifdef MS_WIN32388 389#define SIZEOF_SHORT 2390#define SIZEOF_INT 4391#define SIZEOF_LONG 4392#define ALIGNOF_LONG 4393#define SIZEOF_LONG_LONG 8394#define SIZEOF_DOUBLE 8395#define SIZEOF_FLOAT 4396 397/* VC 7.1 has them and VC 6.0 does not. VC 6.0 has a version number of 1200.398 Microsoft eMbedded Visual C++ 4.0 has a version number of 1201 and doesn't399 define these.400 If some compiler does not provide them, modify the #if appropriately. */401#if defined(_MSC_VER)402#if _MSC_VER > 1300403#define HAVE_UINTPTR_T 1404#define HAVE_INTPTR_T 1405#else406/* VC6, VS 2002 and eVC4 don't support the C99 LL suffix for 64-bit integer literals */407#define Py_LL(x) x##I64408#endif /* _MSC_VER > 1300 */409#endif /* _MSC_VER */410 411#endif412 413/* define signed and unsigned exact-width 32-bit and 64-bit types, used in the414 implementation of Python integers. */415#define PY_UINT32_T uint32_t416#define PY_UINT64_T uint64_t417#define PY_INT32_T int32_t418#define PY_INT64_T int64_t419 420/* Fairly standard from here! */421 422/* Define if on AIX 3.423 System headers sometimes define this.424 We just want to avoid a redefinition error message. */425#ifndef _ALL_SOURCE426/* #undef _ALL_SOURCE */427#endif428 429/* Define to empty if the keyword does not work. */430/* #define const */431 432/* Define to 1 if you have the <conio.h> header file. */433#define HAVE_CONIO_H 1434 435/* Define to 1 if you have the <direct.h> header file. */436#define HAVE_DIRECT_H 1437 438/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.439 */440#define HAVE_DECL_TZNAME 1441 442/* Define if you have dirent.h. */443/* #define DIRENT 1 */444 445/* Define to the type of elements in the array set by `getgroups'.446 Usually this is either `int' or `gid_t'. */447/* #undef GETGROUPS_T */448 449/* Define to `int' if <sys/types.h> doesn't define. */450/* #undef gid_t */451 452/* Define if your struct tm has tm_zone. */453/* #undef HAVE_TM_ZONE */454 455/* Define if you don't have tm_zone but do have the external array456 tzname. */457#define HAVE_TZNAME458 459/* Define to `int' if <sys/types.h> doesn't define. */460/* #undef mode_t */461 462/* Define if you don't have dirent.h, but have ndir.h. */463/* #undef NDIR */464 465/* Define to `long' if <sys/types.h> doesn't define. */466/* #undef off_t */467 468/* Define to `int' if <sys/types.h> doesn't define. */469/* #undef pid_t */470 471/* Define if the system does not provide POSIX.1 features except472 with this defined. */473/* #undef _POSIX_1_SOURCE */474 475/* Define if you need to in order for stat and other things to work. */476/* #undef _POSIX_SOURCE */477 478/* Define as the return type of signal handlers (int or void). */479#define RETSIGTYPE void480 481/* Define to `unsigned' if <sys/types.h> doesn't define. */482/* #undef size_t */483 484/* Define if you have the ANSI C header files. */485#define STDC_HEADERS 1486 487/* Define if you don't have dirent.h, but have sys/dir.h. */488/* #undef SYSDIR */489 490/* Define if you don't have dirent.h, but have sys/ndir.h. */491/* #undef SYSNDIR */492 493/* Define if you can safely include both <sys/time.h> and <time.h>. */494/* #undef TIME_WITH_SYS_TIME */495 496/* Define if your <sys/time.h> declares struct tm. */497/* #define TM_IN_SYS_TIME 1 */498 499/* Define to `int' if <sys/types.h> doesn't define. */500/* #undef uid_t */501 502/* Define if the closedir function returns void instead of int. */503/* #undef VOID_CLOSEDIR */504 505/* Define if getpgrp() must be called as getpgrp(0)506 and (consequently) setpgrp() as setpgrp(0, 0). */507/* #undef GETPGRP_HAVE_ARGS */508 509/* Define this if your time.h defines altzone */510/* #define HAVE_ALTZONE */511 512/* Define if you have the putenv function. */513#define HAVE_PUTENV514 515/* Define if your compiler supports function prototypes */516#define HAVE_PROTOTYPES517 518/* Define if you can safely include both <sys/select.h> and <sys/time.h>519 (which you can't on SCO ODT 3.0). */520/* #undef SYS_SELECT_WITH_SYS_TIME */521 522/* Define if you want build the _decimal module using a coroutine-local rather523 than a thread-local context */524#define WITH_DECIMAL_CONTEXTVAR 1525 526/* Define if you want documentation strings in extension modules */527#define WITH_DOC_STRINGS 1528 529/* Define if you want to compile in rudimentary thread support */530/* #undef WITH_THREAD */531 532/* Define if you want to use the GNU readline library */533/* #define WITH_READLINE 1 */534 535/* Use Python's own small-block memory-allocator. */536#define WITH_PYMALLOC 1537 538/* Define if you want to compile in mimalloc memory allocator. */539#define WITH_MIMALLOC 1540 541/* Define if you have clock. */542/* #define HAVE_CLOCK */543 544/* Define when any dynamic module loading is enabled */545#define HAVE_DYNAMIC_LOADING546 547/* Define if you have ftime. */548#define HAVE_FTIME549 550/* Define if you have getpeername. */551#define HAVE_GETPEERNAME552 553/* Define if you have getpgrp. */554/* #undef HAVE_GETPGRP */555 556/* Define if you have getpid. */557#define HAVE_GETPID558 559/* Define if you have gettimeofday. */560/* #undef HAVE_GETTIMEOFDAY */561 562/* Define if you have getwd. */563/* #undef HAVE_GETWD */564 565/* Define if you have lstat. */566/* #undef HAVE_LSTAT */567 568/* Define if you have the mktime function. */569#define HAVE_MKTIME570 571/* Define if you have nice. */572/* #undef HAVE_NICE */573 574/* Define if you have readlink. */575/* #undef HAVE_READLINK */576 577/* Define if you have setpgid. */578/* #undef HAVE_SETPGID */579 580/* Define if you have setpgrp. */581/* #undef HAVE_SETPGRP */582 583/* Define if you have setsid. */584/* #undef HAVE_SETSID */585 586/* Define if you have setvbuf. */587#define HAVE_SETVBUF588 589/* Define if you have siginterrupt. */590/* #undef HAVE_SIGINTERRUPT */591 592/* Define to 1 if you have the `shutdown' function. */593#define HAVE_SHUTDOWN 1594 595/* Define if you have symlink. */596/* #undef HAVE_SYMLINK */597 598/* Define if you have tcgetpgrp. */599/* #undef HAVE_TCGETPGRP */600 601/* Define if you have tcsetpgrp. */602/* #undef HAVE_TCSETPGRP */603 604/* Define if you have times. */605/* #undef HAVE_TIMES */606 607/* Define to 1 if you have the `umask' function. */608#define HAVE_UMASK 1609 610/* Define if you have uname. */611/* #undef HAVE_UNAME */612 613/* Define if you have waitpid. */614/* #undef HAVE_WAITPID */615 616/* Define to 1 if you have the `wcsftime' function. */617#if defined(_MSC_VER) && _MSC_VER >= 1310618#define HAVE_WCSFTIME 1619#endif620 621/* Define to 1 if you have the `wcscoll' function. */622#define HAVE_WCSCOLL 1623 624/* Define to 1 if you have the `wcsxfrm' function. */625#define HAVE_WCSXFRM 1626 627/* Define if the zlib library has inflateCopy */628#define HAVE_ZLIB_COPY 1629 630/* Define if you have the <dlfcn.h> header file. */631/* #undef HAVE_DLFCN_H */632 633/* Define to 1 if you have the <errno.h> header file. */634#define HAVE_ERRNO_H 1635 636/* Define if you have the <fcntl.h> header file. */637#define HAVE_FCNTL_H 1638 639/* Define to 1 if you have the <process.h> header file. */640#define HAVE_PROCESS_H 1641 642/* Define to 1 if you have the <signal.h> header file. */643#define HAVE_SIGNAL_H 1644 645/* Define if you have the <stddef.h> header file. */646#define HAVE_STDDEF_H 1647 648/* Define if you have the <sys/audioio.h> header file. */649/* #undef HAVE_SYS_AUDIOIO_H */650 651/* Define if you have the <sys/param.h> header file. */652/* #define HAVE_SYS_PARAM_H 1 */653 654/* Define if you have the <sys/select.h> header file. */655/* #define HAVE_SYS_SELECT_H 1 */656 657/* Define to 1 if you have the <sys/stat.h> header file. */658#define HAVE_SYS_STAT_H 1659 660/* Define if you have the <sys/time.h> header file. */661/* #define HAVE_SYS_TIME_H 1 */662 663/* Define if you have the <sys/times.h> header file. */664/* #define HAVE_SYS_TIMES_H 1 */665 666/* Define to 1 if you have the <sys/types.h> header file. */667#define HAVE_SYS_TYPES_H 1668 669/* Define if you have the <sys/un.h> header file. */670/* #define HAVE_SYS_UN_H 1 */671 672/* Define if you have the <sys/utime.h> header file. */673/* #define HAVE_SYS_UTIME_H 1 */674 675/* Define if you have the <sys/utsname.h> header file. */676/* #define HAVE_SYS_UTSNAME_H 1 */677 678/* Define if you have the <unistd.h> header file. */679/* #define HAVE_UNISTD_H 1 */680 681/* Define if you have the <utime.h> header file. */682/* #define HAVE_UTIME_H 1 */683 684/* Define if the compiler provides a wchar.h header file. */685#define HAVE_WCHAR_H 1686 687/* The size of `wchar_t', as computed by sizeof. */688#define SIZEOF_WCHAR_T 2689 690/* The size of `_Bool', as computed by sizeof. */691#define SIZEOF__BOOL 1692 693/* The size of `pid_t', as computed by sizeof. */694#define SIZEOF_PID_T SIZEOF_INT695 696/* Define if you have the dl library (-ldl). */697/* #undef HAVE_LIBDL */698 699/* Define if you have the mpc library (-lmpc). */700/* #undef HAVE_LIBMPC */701 702/* Define if you have the seq library (-lseq). */703/* #undef HAVE_LIBSEQ */704 705/* Define if you have the socket library (-lsocket). */706#define HAVE_LIBSOCKET 1707 708/* Define if you have the sun library (-lsun). */709/* #undef HAVE_LIBSUN */710 711/* Define if you have the termcap library (-ltermcap). */712/* #undef HAVE_LIBTERMCAP */713 714/* Define if you have the termlib library (-ltermlib). */715/* #undef HAVE_LIBTERMLIB */716 717/* Define if you have the thread library (-lthread). */718/* #undef HAVE_LIBTHREAD */719 720/* WinSock does not use a bitmask in select, and uses721 socket handles greater than FD_SETSIZE */722#define Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE723 724/* Define if C doubles are 64-bit IEEE 754 binary format, stored with the725 least significant byte first */726#define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1727 728/* Define to 1 if you have the `erf' function. */729#define HAVE_ERF 1730 731/* Define to 1 if you have the `erfc' function. */732#define HAVE_ERFC 1733 734// netdb.h functions (provided by winsock.h)735#define HAVE_GETHOSTNAME 1736#define HAVE_GETHOSTBYADDR 1737#define HAVE_GETHOSTBYNAME 1738#define HAVE_GETPROTOBYNAME 1739#define HAVE_GETSERVBYNAME 1740#define HAVE_GETSERVBYPORT 1741// sys/socket.h functions (provided by winsock.h)742#define HAVE_INET_PTON 1743#define HAVE_INET_NTOA 1744#define HAVE_ACCEPT 1745#define HAVE_BIND 1746#define HAVE_CONNECT 1747#define HAVE_GETSOCKNAME 1748#define HAVE_LISTEN 1749#define HAVE_RECVFROM 1750#define HAVE_SENDTO 1751#define HAVE_SETSOCKOPT 1752#define HAVE_SOCKET 1753 754/* Define to 1 if you have the `dup' function. */755#define HAVE_DUP 1756 757/* framework name */758#define _PYTHONFRAMEWORK ""759 760/* Define if libssl has X509_VERIFY_PARAM_set1_host and related function */761#define HAVE_X509_VERIFY_PARAM_SET1_HOST 1762 763// Truncate the thread name to 32766 characters.764#define _PYTHREAD_NAME_MAXLEN 32766765 766#endif /* !Py_CONFIG_H */767 