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