pyconfig.h 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687
  1. #ifndef Py_CONFIG_H
  2. #define Py_CONFIG_H
  3. /* pyconfig.h. NOT Generated automatically by configure.
  4. This is a manually maintained version used for the Watcom,
  5. Borland and Microsoft Visual C++ compilers. It is a
  6. standard part of the Python distribution.
  7. WINDOWS DEFINES:
  8. The code specific to Windows should be wrapped around one of
  9. the following #defines
  10. MS_WIN64 - Code specific to the MS Win64 API
  11. MS_WIN32 - Code specific to the MS Win32 (and Win64) API (obsolete, this covers all supported APIs)
  12. MS_WINDOWS - Code specific to Windows, but all versions.
  13. Py_ENABLE_SHARED - Code if the Python core is built as a DLL.
  14. Also note that neither "_M_IX86" or "_MSC_VER" should be used for
  15. any purpose other than "Windows Intel x86 specific" and "Microsoft
  16. compiler specific". Therefore, these should be very rare.
  17. NOTE: The following symbols are deprecated:
  18. NT, USE_DL_EXPORT, USE_DL_IMPORT, DL_EXPORT, DL_IMPORT
  19. MS_CORE_DLL.
  20. WIN32 is still required for the locale module.
  21. */
  22. /* Deprecated USE_DL_EXPORT macro - please use Py_BUILD_CORE */
  23. #ifdef USE_DL_EXPORT
  24. # define Py_BUILD_CORE
  25. #endif /* USE_DL_EXPORT */
  26. /* Visual Studio 2005 introduces deprecation warnings for
  27. "insecure" and POSIX functions. The insecure functions should
  28. be replaced by *_s versions (according to Microsoft); the
  29. POSIX functions by _* versions (which, according to Microsoft,
  30. would be ISO C conforming). Neither renaming is feasible, so
  31. we just silence the warnings. */
  32. #ifndef _CRT_SECURE_NO_DEPRECATE
  33. #define _CRT_SECURE_NO_DEPRECATE 1
  34. #endif
  35. #ifndef _CRT_NONSTDC_NO_DEPRECATE
  36. #define _CRT_NONSTDC_NO_DEPRECATE 1
  37. #endif
  38. #define HAVE_IO_H
  39. #define HAVE_SYS_UTIME_H
  40. #define HAVE_TEMPNAM
  41. #define HAVE_TMPFILE
  42. #define HAVE_TMPNAM
  43. #define HAVE_CLOCK
  44. #define HAVE_STRERROR
  45. #include <io.h>
  46. #define HAVE_HYPOT
  47. #define HAVE_STRFTIME
  48. #define DONT_HAVE_SIG_ALARM
  49. #define DONT_HAVE_SIG_PAUSE
  50. #define LONG_BIT 32
  51. #define WORD_BIT 32
  52. #define MS_WIN32 /* only support win32 and greater. */
  53. #define MS_WINDOWS
  54. #ifndef PYTHONPATH
  55. # define PYTHONPATH L".\\DLLs;.\\lib"
  56. #endif
  57. #define NT_THREADS
  58. #define WITH_THREAD
  59. #ifndef NETSCAPE_PI
  60. #define USE_SOCKET
  61. #endif
  62. /* Compiler specific defines */
  63. /* ------------------------------------------------------------------------*/
  64. /* Microsoft C defines _MSC_VER */
  65. #ifdef _MSC_VER
  66. /* We want COMPILER to expand to a string containing _MSC_VER's *value*.
  67. * This is horridly tricky, because the stringization operator only works
  68. * on macro arguments, and doesn't evaluate macros passed *as* arguments.
  69. * Attempts simpler than the following appear doomed to produce "_MSC_VER"
  70. * literally in the string.
  71. */
  72. #define _Py_PASTE_VERSION(SUFFIX) \
  73. ("[MSC v." _Py_STRINGIZE(_MSC_VER) " " SUFFIX "]")
  74. /* e.g., this produces, after compile-time string catenation,
  75. * ("[MSC v.1200 32 bit (Intel)]")
  76. *
  77. * _Py_STRINGIZE(_MSC_VER) expands to
  78. * _Py_STRINGIZE1((_MSC_VER)) expands to
  79. * _Py_STRINGIZE2(_MSC_VER) but as this call is the result of token-pasting
  80. * it's scanned again for macros and so further expands to (under MSVC 6)
  81. * _Py_STRINGIZE2(1200) which then expands to
  82. * "1200"
  83. */
  84. #define _Py_STRINGIZE(X) _Py_STRINGIZE1((X))
  85. #define _Py_STRINGIZE1(X) _Py_STRINGIZE2 ## X
  86. #define _Py_STRINGIZE2(X) #X
  87. /* MSVC defines _WINxx to differentiate the windows platform types
  88. Note that for compatibility reasons _WIN32 is defined on Win32
  89. *and* on Win64. For the same reasons, in Python, MS_WIN32 is
  90. defined on Win32 *and* Win64. Win32 only code must therefore be
  91. guarded as follows:
  92. #if defined(MS_WIN32) && !defined(MS_WIN64)
  93. */
  94. #ifdef _WIN64
  95. #define MS_WIN64
  96. #endif
  97. /* set the COMPILER */
  98. #ifdef MS_WIN64
  99. #if defined(_M_X64) || defined(_M_AMD64)
  100. #if defined(__INTEL_COMPILER)
  101. #define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 64 bit (amd64) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
  102. #else
  103. #define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
  104. #endif /* __INTEL_COMPILER */
  105. #define PYD_PLATFORM_TAG "win_amd64"
  106. #elif defined(_M_ARM64)
  107. #define COMPILER _Py_PASTE_VERSION("64 bit (ARM64)")
  108. #define PYD_PLATFORM_TAG "win_arm64"
  109. #else
  110. #define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")
  111. #endif
  112. #endif /* MS_WIN64 */
  113. /* set the version macros for the windows headers */
  114. /* Python 3.5+ requires Windows Vista or greater */
  115. #define Py_WINVER 0x0600 /* _WIN32_WINNT_VISTA */
  116. #define Py_NTDDI NTDDI_VISTA
  117. /* We only set these values when building Python - we don't want to force
  118. these values on extensions, as that will affect the prototypes and
  119. structures exposed in the Windows headers. Even when building Python, we
  120. allow a single source file to override this - they may need access to
  121. structures etc so it can optionally use new Windows features if it
  122. determines at runtime they are available.
  123. */
  124. #if defined(Py_BUILD_CORE) || defined(Py_BUILD_CORE_BUILTIN) || defined(Py_BUILD_CORE_MODULE)
  125. #ifndef NTDDI_VERSION
  126. #define NTDDI_VERSION Py_NTDDI
  127. #endif
  128. #ifndef WINVER
  129. #define WINVER Py_WINVER
  130. #endif
  131. #ifndef _WIN32_WINNT
  132. #define _WIN32_WINNT Py_WINVER
  133. #endif
  134. #endif
  135. /* _W64 is not defined for VC6 or eVC4 */
  136. #ifndef _W64
  137. #define _W64
  138. #endif
  139. /* Define like size_t, omitting the "unsigned" */
  140. #ifdef MS_WIN64
  141. typedef __int64 ssize_t;
  142. #else
  143. typedef _W64 int ssize_t;
  144. #endif
  145. #define HAVE_SSIZE_T 1
  146. #if defined(MS_WIN32) && !defined(MS_WIN64)
  147. #if defined(_M_IX86)
  148. #if defined(__INTEL_COMPILER)
  149. #define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 32 bit (Intel) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
  150. #else
  151. #define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
  152. #endif /* __INTEL_COMPILER */
  153. #define PYD_PLATFORM_TAG "win32"
  154. #elif defined(_M_ARM)
  155. #define COMPILER _Py_PASTE_VERSION("32 bit (ARM)")
  156. #define PYD_PLATFORM_TAG "win_arm32"
  157. #else
  158. #define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")
  159. #endif
  160. #endif /* MS_WIN32 && !MS_WIN64 */
  161. typedef int pid_t;
  162. #include <float.h>
  163. #define Py_IS_NAN _isnan
  164. #define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X))
  165. #define Py_IS_FINITE(X) _finite(X)
  166. #define copysign _copysign
  167. /* Side by Side assemblies supported in VS 2005 and VS 2008 but not 2010*/
  168. #if _MSC_VER >= 1400 && _MSC_VER < 1600
  169. #define HAVE_SXS 1
  170. #endif
  171. /* define some ANSI types that are not defined in earlier Win headers */
  172. #if _MSC_VER >= 1200
  173. /* This file only exists in VC 6.0 or higher */
  174. #include <basetsd.h>
  175. #endif
  176. #endif /* _MSC_VER */
  177. /* ------------------------------------------------------------------------*/
  178. /* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
  179. #if defined(__GNUC__) && defined(_WIN32)
  180. /* XXX These defines are likely incomplete, but should be easy to fix.
  181. They should be complete enough to build extension modules. */
  182. /* Suggested by Rene Liebscher <R.Liebscher@gmx.de> to avoid a GCC 2.91.*
  183. bug that requires structure imports. More recent versions of the
  184. compiler don't exhibit this bug.
  185. */
  186. #if (__GNUC__==2) && (__GNUC_MINOR__<=91)
  187. #warning "Please use an up-to-date version of gcc! (>2.91 recommended)"
  188. #endif
  189. #define COMPILER "[gcc]"
  190. #define PY_LONG_LONG long long
  191. #define PY_LLONG_MIN LLONG_MIN
  192. #define PY_LLONG_MAX LLONG_MAX
  193. #define PY_ULLONG_MAX ULLONG_MAX
  194. #endif /* GNUC */
  195. /* ------------------------------------------------------------------------*/
  196. /* lcc-win32 defines __LCC__ */
  197. #if defined(__LCC__)
  198. /* XXX These defines are likely incomplete, but should be easy to fix.
  199. They should be complete enough to build extension modules. */
  200. #define COMPILER "[lcc-win32]"
  201. typedef int pid_t;
  202. /* __declspec() is supported here too - do nothing to get the defaults */
  203. #endif /* LCC */
  204. /* ------------------------------------------------------------------------*/
  205. /* End of compilers - finish up */
  206. #ifndef NO_STDIO_H
  207. # include <stdio.h>
  208. #endif
  209. /* 64 bit ints are usually spelt __int64 unless compiler has overridden */
  210. #ifndef PY_LONG_LONG
  211. # define PY_LONG_LONG __int64
  212. # define PY_LLONG_MAX _I64_MAX
  213. # define PY_LLONG_MIN _I64_MIN
  214. # define PY_ULLONG_MAX _UI64_MAX
  215. #endif
  216. /* For Windows the Python core is in a DLL by default. Test
  217. Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
  218. #if !defined(MS_NO_COREDLL) && !defined(Py_NO_ENABLE_SHARED)
  219. # define Py_ENABLE_SHARED 1 /* standard symbol for shared library */
  220. # define MS_COREDLL /* deprecated old symbol */
  221. #endif /* !MS_NO_COREDLL && ... */
  222. /* All windows compilers that use this header support __declspec */
  223. #define HAVE_DECLSPEC_DLL
  224. /* For an MSVC DLL, we can nominate the .lib files used by extensions */
  225. #ifdef MS_COREDLL
  226. # if !defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_BUILTIN)
  227. /* not building the core - must be an ext */
  228. # if defined(_MSC_VER)
  229. /* So MSVC users need not specify the .lib
  230. file in their Makefile (other compilers are
  231. generally taken care of by distutils.) */
  232. # if defined(_DEBUG)
  233. # pragma comment(lib,"python38_d.lib")
  234. # elif defined(Py_LIMITED_API)
  235. # pragma comment(lib,"python3.lib")
  236. # else
  237. # pragma comment(lib,"python38.lib")
  238. # endif /* _DEBUG */
  239. # endif /* _MSC_VER */
  240. # endif /* Py_BUILD_CORE */
  241. #endif /* MS_COREDLL */
  242. #if defined(MS_WIN64)
  243. /* maintain "win32" sys.platform for backward compatibility of Python code,
  244. the Win64 API should be close enough to the Win32 API to make this
  245. preferable */
  246. # define PLATFORM "win32"
  247. # define SIZEOF_VOID_P 8
  248. # define SIZEOF_TIME_T 8
  249. # define SIZEOF_OFF_T 4
  250. # define SIZEOF_FPOS_T 8
  251. # define SIZEOF_HKEY 8
  252. # define SIZEOF_SIZE_T 8
  253. /* configure.ac defines HAVE_LARGEFILE_SUPPORT iff
  254. sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t).
  255. On Win64 the second condition is not true, but if fpos_t replaces off_t
  256. then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
  257. should define this. */
  258. # define HAVE_LARGEFILE_SUPPORT
  259. #elif defined(MS_WIN32)
  260. # define PLATFORM "win32"
  261. # define HAVE_LARGEFILE_SUPPORT
  262. # define SIZEOF_VOID_P 4
  263. # define SIZEOF_OFF_T 4
  264. # define SIZEOF_FPOS_T 8
  265. # define SIZEOF_HKEY 4
  266. # define SIZEOF_SIZE_T 4
  267. /* MS VS2005 changes time_t to a 64-bit type on all platforms */
  268. # if defined(_MSC_VER) && _MSC_VER >= 1400
  269. # define SIZEOF_TIME_T 8
  270. # else
  271. # define SIZEOF_TIME_T 4
  272. # endif
  273. #endif
  274. #ifdef _DEBUG
  275. # define Py_DEBUG
  276. #endif
  277. #ifdef MS_WIN32
  278. #define SIZEOF_SHORT 2
  279. #define SIZEOF_INT 4
  280. #define SIZEOF_LONG 4
  281. #define SIZEOF_LONG_LONG 8
  282. #define SIZEOF_DOUBLE 8
  283. #define SIZEOF_FLOAT 4
  284. /* VC 7.1 has them and VC 6.0 does not. VC 6.0 has a version number of 1200.
  285. Microsoft eMbedded Visual C++ 4.0 has a version number of 1201 and doesn't
  286. define these.
  287. If some compiler does not provide them, modify the #if appropriately. */
  288. #if defined(_MSC_VER)
  289. #if _MSC_VER > 1300
  290. #define HAVE_UINTPTR_T 1
  291. #define HAVE_INTPTR_T 1
  292. #else
  293. /* VC6, VS 2002 and eVC4 don't support the C99 LL suffix for 64-bit integer literals */
  294. #define Py_LL(x) x##I64
  295. #endif /* _MSC_VER > 1300 */
  296. #endif /* _MSC_VER */
  297. #endif
  298. /* define signed and unsigned exact-width 32-bit and 64-bit types, used in the
  299. implementation of Python integers. */
  300. #define PY_UINT32_T uint32_t
  301. #define PY_UINT64_T uint64_t
  302. #define PY_INT32_T int32_t
  303. #define PY_INT64_T int64_t
  304. /* Fairly standard from here! */
  305. /* Define to 1 if you have the `copysign' function. */
  306. #define HAVE_COPYSIGN 1
  307. /* Define to 1 if you have the `round' function. */
  308. #if _MSC_VER >= 1800
  309. #define HAVE_ROUND 1
  310. #endif
  311. /* Define to 1 if you have the `isinf' macro. */
  312. #define HAVE_DECL_ISINF 1
  313. /* Define to 1 if you have the `isnan' function. */
  314. #define HAVE_DECL_ISNAN 1
  315. /* Define if on AIX 3.
  316. System headers sometimes define this.
  317. We just want to avoid a redefinition error message. */
  318. #ifndef _ALL_SOURCE
  319. /* #undef _ALL_SOURCE */
  320. #endif
  321. /* Define to empty if the keyword does not work. */
  322. /* #define const */
  323. /* Define to 1 if you have the <conio.h> header file. */
  324. #define HAVE_CONIO_H 1
  325. /* Define to 1 if you have the <direct.h> header file. */
  326. #define HAVE_DIRECT_H 1
  327. /* Define to 1 if you have the declaration of `tzname', and to 0 if you don't.
  328. */
  329. #define HAVE_DECL_TZNAME 1
  330. /* Define if you have dirent.h. */
  331. /* #define DIRENT 1 */
  332. /* Define to the type of elements in the array set by `getgroups'.
  333. Usually this is either `int' or `gid_t'. */
  334. /* #undef GETGROUPS_T */
  335. /* Define to `int' if <sys/types.h> doesn't define. */
  336. /* #undef gid_t */
  337. /* Define if your struct tm has tm_zone. */
  338. /* #undef HAVE_TM_ZONE */
  339. /* Define if you don't have tm_zone but do have the external array
  340. tzname. */
  341. #define HAVE_TZNAME
  342. /* Define to `int' if <sys/types.h> doesn't define. */
  343. /* #undef mode_t */
  344. /* Define if you don't have dirent.h, but have ndir.h. */
  345. /* #undef NDIR */
  346. /* Define to `long' if <sys/types.h> doesn't define. */
  347. /* #undef off_t */
  348. /* Define to `int' if <sys/types.h> doesn't define. */
  349. /* #undef pid_t */
  350. /* Define if the system does not provide POSIX.1 features except
  351. with this defined. */
  352. /* #undef _POSIX_1_SOURCE */
  353. /* Define if you need to in order for stat and other things to work. */
  354. /* #undef _POSIX_SOURCE */
  355. /* Define as the return type of signal handlers (int or void). */
  356. #define RETSIGTYPE void
  357. /* Define to `unsigned' if <sys/types.h> doesn't define. */
  358. /* #undef size_t */
  359. /* Define if you have the ANSI C header files. */
  360. #define STDC_HEADERS 1
  361. /* Define if you don't have dirent.h, but have sys/dir.h. */
  362. /* #undef SYSDIR */
  363. /* Define if you don't have dirent.h, but have sys/ndir.h. */
  364. /* #undef SYSNDIR */
  365. /* Define if you can safely include both <sys/time.h> and <time.h>. */
  366. /* #undef TIME_WITH_SYS_TIME */
  367. /* Define if your <sys/time.h> declares struct tm. */
  368. /* #define TM_IN_SYS_TIME 1 */
  369. /* Define to `int' if <sys/types.h> doesn't define. */
  370. /* #undef uid_t */
  371. /* Define if the closedir function returns void instead of int. */
  372. /* #undef VOID_CLOSEDIR */
  373. /* Define if getpgrp() must be called as getpgrp(0)
  374. and (consequently) setpgrp() as setpgrp(0, 0). */
  375. /* #undef GETPGRP_HAVE_ARGS */
  376. /* Define this if your time.h defines altzone */
  377. /* #define HAVE_ALTZONE */
  378. /* Define if you have the putenv function. */
  379. #define HAVE_PUTENV
  380. /* Define if your compiler supports function prototypes */
  381. #define HAVE_PROTOTYPES
  382. /* Define if you can safely include both <sys/select.h> and <sys/time.h>
  383. (which you can't on SCO ODT 3.0). */
  384. /* #undef SYS_SELECT_WITH_SYS_TIME */
  385. /* Define if you want documentation strings in extension modules */
  386. #define WITH_DOC_STRINGS 1
  387. /* Define if you want to compile in rudimentary thread support */
  388. /* #undef WITH_THREAD */
  389. /* Define if you want to use the GNU readline library */
  390. /* #define WITH_READLINE 1 */
  391. /* Use Python's own small-block memory-allocator. */
  392. #define WITH_PYMALLOC 1
  393. /* Define if you have clock. */
  394. /* #define HAVE_CLOCK */
  395. /* Define when any dynamic module loading is enabled */
  396. #define HAVE_DYNAMIC_LOADING
  397. /* Define if you have ftime. */
  398. #define HAVE_FTIME
  399. /* Define if you have getpeername. */
  400. #define HAVE_GETPEERNAME
  401. /* Define if you have getpgrp. */
  402. /* #undef HAVE_GETPGRP */
  403. /* Define if you have getpid. */
  404. #define HAVE_GETPID
  405. /* Define if you have gettimeofday. */
  406. /* #undef HAVE_GETTIMEOFDAY */
  407. /* Define if you have getwd. */
  408. /* #undef HAVE_GETWD */
  409. /* Define if you have lstat. */
  410. /* #undef HAVE_LSTAT */
  411. /* Define if you have the mktime function. */
  412. #define HAVE_MKTIME
  413. /* Define if you have nice. */
  414. /* #undef HAVE_NICE */
  415. /* Define if you have readlink. */
  416. /* #undef HAVE_READLINK */
  417. /* Define if you have setpgid. */
  418. /* #undef HAVE_SETPGID */
  419. /* Define if you have setpgrp. */
  420. /* #undef HAVE_SETPGRP */
  421. /* Define if you have setsid. */
  422. /* #undef HAVE_SETSID */
  423. /* Define if you have setvbuf. */
  424. #define HAVE_SETVBUF
  425. /* Define if you have siginterrupt. */
  426. /* #undef HAVE_SIGINTERRUPT */
  427. /* Define if you have symlink. */
  428. /* #undef HAVE_SYMLINK */
  429. /* Define if you have tcgetpgrp. */
  430. /* #undef HAVE_TCGETPGRP */
  431. /* Define if you have tcsetpgrp. */
  432. /* #undef HAVE_TCSETPGRP */
  433. /* Define if you have times. */
  434. /* #undef HAVE_TIMES */
  435. /* Define if you have uname. */
  436. /* #undef HAVE_UNAME */
  437. /* Define if you have waitpid. */
  438. /* #undef HAVE_WAITPID */
  439. /* Define to 1 if you have the `wcsftime' function. */
  440. #if defined(_MSC_VER) && _MSC_VER >= 1310
  441. #define HAVE_WCSFTIME 1
  442. #endif
  443. /* Define to 1 if you have the `wcscoll' function. */
  444. #define HAVE_WCSCOLL 1
  445. /* Define to 1 if you have the `wcsxfrm' function. */
  446. #define HAVE_WCSXFRM 1
  447. /* Define if the zlib library has inflateCopy */
  448. #define HAVE_ZLIB_COPY 1
  449. /* Define if you have the <dlfcn.h> header file. */
  450. /* #undef HAVE_DLFCN_H */
  451. /* Define to 1 if you have the <errno.h> header file. */
  452. #define HAVE_ERRNO_H 1
  453. /* Define if you have the <fcntl.h> header file. */
  454. #define HAVE_FCNTL_H 1
  455. /* Define to 1 if you have the <process.h> header file. */
  456. #define HAVE_PROCESS_H 1
  457. /* Define to 1 if you have the <signal.h> header file. */
  458. #define HAVE_SIGNAL_H 1
  459. /* Define if you have the <stdarg.h> prototypes. */
  460. #define HAVE_STDARG_PROTOTYPES
  461. /* Define if you have the <stddef.h> header file. */
  462. #define HAVE_STDDEF_H 1
  463. /* Define if you have the <sys/audioio.h> header file. */
  464. /* #undef HAVE_SYS_AUDIOIO_H */
  465. /* Define if you have the <sys/param.h> header file. */
  466. /* #define HAVE_SYS_PARAM_H 1 */
  467. /* Define if you have the <sys/select.h> header file. */
  468. /* #define HAVE_SYS_SELECT_H 1 */
  469. /* Define to 1 if you have the <sys/stat.h> header file. */
  470. #define HAVE_SYS_STAT_H 1
  471. /* Define if you have the <sys/time.h> header file. */
  472. /* #define HAVE_SYS_TIME_H 1 */
  473. /* Define if you have the <sys/times.h> header file. */
  474. /* #define HAVE_SYS_TIMES_H 1 */
  475. /* Define to 1 if you have the <sys/types.h> header file. */
  476. #define HAVE_SYS_TYPES_H 1
  477. /* Define if you have the <sys/un.h> header file. */
  478. /* #define HAVE_SYS_UN_H 1 */
  479. /* Define if you have the <sys/utime.h> header file. */
  480. /* #define HAVE_SYS_UTIME_H 1 */
  481. /* Define if you have the <sys/utsname.h> header file. */
  482. /* #define HAVE_SYS_UTSNAME_H 1 */
  483. /* Define if you have the <unistd.h> header file. */
  484. /* #define HAVE_UNISTD_H 1 */
  485. /* Define if you have the <utime.h> header file. */
  486. /* #define HAVE_UTIME_H 1 */
  487. /* Define if the compiler provides a wchar.h header file. */
  488. #define HAVE_WCHAR_H 1
  489. /* The size of `wchar_t', as computed by sizeof. */
  490. #define SIZEOF_WCHAR_T 2
  491. /* The size of `_Bool', as computed by sizeof. */
  492. #define SIZEOF__BOOL 1
  493. /* The size of `pid_t', as computed by sizeof. */
  494. #define SIZEOF_PID_T SIZEOF_INT
  495. /* Define if you have the dl library (-ldl). */
  496. /* #undef HAVE_LIBDL */
  497. /* Define if you have the mpc library (-lmpc). */
  498. /* #undef HAVE_LIBMPC */
  499. /* Define if you have the nsl library (-lnsl). */
  500. #define HAVE_LIBNSL 1
  501. /* Define if you have the seq library (-lseq). */
  502. /* #undef HAVE_LIBSEQ */
  503. /* Define if you have the socket library (-lsocket). */
  504. #define HAVE_LIBSOCKET 1
  505. /* Define if you have the sun library (-lsun). */
  506. /* #undef HAVE_LIBSUN */
  507. /* Define if you have the termcap library (-ltermcap). */
  508. /* #undef HAVE_LIBTERMCAP */
  509. /* Define if you have the termlib library (-ltermlib). */
  510. /* #undef HAVE_LIBTERMLIB */
  511. /* Define if you have the thread library (-lthread). */
  512. /* #undef HAVE_LIBTHREAD */
  513. /* WinSock does not use a bitmask in select, and uses
  514. socket handles greater than FD_SETSIZE */
  515. #define Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE
  516. /* Define if C doubles are 64-bit IEEE 754 binary format, stored with the
  517. least significant byte first */
  518. #define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1
  519. /* Define to 1 if you have the `erf' function. */
  520. #define HAVE_ERF 1
  521. /* Define to 1 if you have the `erfc' function. */
  522. #define HAVE_ERFC 1
  523. /* Define if you have the 'inet_pton' function. */
  524. #define HAVE_INET_PTON 1
  525. /* framework name */
  526. #define _PYTHONFRAMEWORK ""
  527. /* Define if libssl has X509_VERIFY_PARAM_set1_host and related function */
  528. #define HAVE_X509_VERIFY_PARAM_SET1_HOST 1
  529. #endif /* !Py_CONFIG_H */