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