pyconfig.h 20 KB

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