Debian Codegraph @

pypy/module/cpyext/PC/pyconfig.h

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