Change to flush and close logic to fix #1760556.
[python.git] / PC / pyconfig.h
blobbdac0a67021bde4ca940560e305abb4ed6a620d4
1 #ifndef Py_CONFIG_H
2 #define Py_CONFIG_H
4 /* pyconfig.h. NOT Generated automatically by configure.
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.
10 WINDOWS DEFINES:
11 The code specific to Windows should be wrapped around one of
12 the following #defines
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 MS_WINCE - Code specific to Windows CE
18 Py_ENABLE_SHARED - Code if the Python core is built as a DLL.
20 Also note that neither "_M_IX86" or "_MSC_VER" should be used for
21 any purpose other than "Windows Intel x86 specific" and "Microsoft
22 compiler specific". Therefore, these should be very rare.
25 NOTE: The following symbols are deprecated:
26 NT, WIN32, USE_DL_EXPORT, USE_DL_IMPORT, DL_EXPORT, DL_IMPORT
27 MS_CORE_DLL.
31 #ifdef _WIN32_WCE
32 #define MS_WINCE
33 #endif
35 /* Deprecated USE_DL_EXPORT macro - please use Py_BUILD_CORE */
36 #ifdef USE_DL_EXPORT
37 # define Py_BUILD_CORE
38 #endif /* USE_DL_EXPORT */
40 /* Visual Studio 2005 introduces deprecation warnings for
41 "insecure" and POSIX functions. The insecure functions should
42 be replaced by *_s versions (according to Microsoft); the
43 POSIX functions by _* versions (which, according to Microsoft,
44 would be ISO C conforming). Neither renaming is feasible, so
45 we just silence the warnings. */
47 #ifndef _CRT_SECURE_NO_DEPRECATE
48 #define _CRT_SECURE_NO_DEPRECATE 1
49 #endif
50 #ifndef _CRT_NONSTDC_NO_DEPRECATE
51 #define _CRT_NONSTDC_NO_DEPRECATE 1
52 #endif
54 /* Windows CE does not have these */
55 #ifndef MS_WINCE
56 #define HAVE_IO_H
57 #define HAVE_SYS_UTIME_H
58 #define HAVE_TEMPNAM
59 #define HAVE_TMPFILE
60 #define HAVE_TMPNAM
61 #define HAVE_CLOCK
62 #define HAVE_STRERROR
63 #endif
65 #ifdef HAVE_IO_H
66 #include <io.h>
67 #endif
69 #define HAVE_HYPOT
70 #define HAVE_STRFTIME
71 #define DONT_HAVE_SIG_ALARM
72 #define DONT_HAVE_SIG_PAUSE
73 #define LONG_BIT 32
74 #define WORD_BIT 32
75 #define PREFIX ""
76 #define EXEC_PREFIX ""
78 #define MS_WIN32 /* only support win32 and greater. */
79 #define MS_WINDOWS
80 #ifndef PYTHONPATH
81 # define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
82 #endif
83 #define NT_THREADS
84 #define WITH_THREAD
85 #ifndef NETSCAPE_PI
86 #define USE_SOCKET
87 #endif
89 #ifdef MS_WINCE
90 /* Python uses GetVersion() to distinguish between
91 * Windows NT and 9x/ME where OS Unicode support is concerned.
92 * Windows CE supports Unicode in the same way as NT so we
93 * define the missing GetVersion() accordingly.
95 #define GetVersion() (4)
96 /* Windows CE does not support environment variables */
97 #define getenv(v) (NULL)
98 #define environ (NULL)
99 #endif
101 /* Compiler specific defines */
103 /* ------------------------------------------------------------------------*/
104 /* Microsoft C defines _MSC_VER */
105 #ifdef _MSC_VER
107 /* We want COMPILER to expand to a string containing _MSC_VER's *value*.
108 * This is horridly tricky, because the stringization operator only works
109 * on macro arguments, and doesn't evaluate macros passed *as* arguments.
110 * Attempts simpler than the following appear doomed to produce "_MSC_VER"
111 * literally in the string.
113 #define _Py_PASTE_VERSION(SUFFIX) \
114 ("[MSC v." _Py_STRINGIZE(_MSC_VER) " " SUFFIX "]")
115 /* e.g., this produces, after compile-time string catenation,
116 * ("[MSC v.1200 32 bit (Intel)]")
118 * _Py_STRINGIZE(_MSC_VER) expands to
119 * _Py_STRINGIZE1((_MSC_VER)) expands to
120 * _Py_STRINGIZE2(_MSC_VER) but as this call is the result of token-pasting
121 * it's scanned again for macros and so further expands to (under MSVC 6)
122 * _Py_STRINGIZE2(1200) which then expands to
123 * "1200"
125 #define _Py_STRINGIZE(X) _Py_STRINGIZE1((X))
126 #define _Py_STRINGIZE1(X) _Py_STRINGIZE2 ## X
127 #define _Py_STRINGIZE2(X) #X
129 /* MSVC defines _WINxx to differentiate the windows platform types
131 Note that for compatibility reasons _WIN32 is defined on Win32
132 *and* on Win64. For the same reasons, in Python, MS_WIN32 is
133 defined on Win32 *and* Win64. Win32 only code must therefore be
134 guarded as follows:
135 #if defined(MS_WIN32) && !defined(MS_WIN64)
136 Some modules are disabled on Itanium processors, therefore we
137 have MS_WINI64 set for those targets, otherwise MS_WINX64
139 #ifdef _WIN64
140 #define MS_WIN64
141 #endif
143 /* set the COMPILER */
144 #ifdef MS_WIN64
145 #if defined(_M_IA64)
146 #define COMPILER _Py_PASTE_VERSION("64 bit (Itanium)")
147 #define MS_WINI64
148 #elif defined(_M_X64) || defined(_M_AMD64)
149 #define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
150 #define MS_WINX64
151 #else
152 #define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")
153 #endif
154 #endif /* MS_WIN64 */
156 /* set the version macros for the windows headers */
157 #ifdef MS_WINX64
158 /* 64 bit only runs on XP or greater */
159 #define Py_WINVER 0x0501
160 #else
161 /* NT 4.0 or greater required otherwise */
162 #define Py_WINVER 0x0400
163 #endif
165 /* We only set these values when building Python - we don't want to force
166 these values on extensions, as that will affect the prototypes and
167 structures exposed in the Windows headers. Even when building Python, we
168 allow a single source file to override this - they may need access to
169 structures etc so it can optionally use new Windows features if it
170 determines at runtime they are available.
172 #ifdef Py_BUILD_CORE
173 #ifndef WINVER
174 #define WINVER Py_WINVER
175 #endif
176 #ifndef _WIN32_WINNT
177 #define _WIN32_WINNT Py_WINVER
178 #endif
179 #endif
181 /* _W64 is not defined for VC6 or eVC4 */
182 #ifndef _W64
183 #define _W64
184 #endif
186 /* Define like size_t, omitting the "unsigned" */
187 #ifdef MS_WIN64
188 typedef __int64 ssize_t;
189 #else
190 typedef _W64 int ssize_t;
191 #endif
192 #define HAVE_SSIZE_T 1
194 #if defined(MS_WIN32) && !defined(MS_WIN64)
195 #ifdef _M_IX86
196 #define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
197 #else
198 #define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")
199 #endif
200 #endif /* MS_WIN32 && !MS_WIN64 */
202 typedef int pid_t;
203 #define hypot _hypot
205 #include <float.h>
206 #define Py_IS_NAN _isnan
207 #define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X))
208 #define Py_IS_FINITE(X) _finite(X)
210 /* Turn off warnings about deprecated C runtime functions in
211 VisualStudio .NET 2005 */
212 #if _MSC_VER >= 1400 && !defined _CRT_SECURE_NO_DEPRECATE
213 #define _CRT_SECURE_NO_DEPRECATE
214 #endif
216 #endif /* _MSC_VER */
218 /* define some ANSI types that are not defined in earlier Win headers */
219 #if defined(_MSC_VER) && _MSC_VER >= 1200
220 /* This file only exists in VC 6.0 or higher */
221 #include <basetsd.h>
222 #endif
224 /* ------------------------------------------------------------------------*/
225 /* The Borland compiler defines __BORLANDC__ */
226 /* XXX These defines are likely incomplete, but should be easy to fix. */
227 #ifdef __BORLANDC__
228 #define COMPILER "[Borland]"
230 #ifdef _WIN32
231 /* tested with BCC 5.5 (__BORLANDC__ >= 0x0550)
234 typedef int pid_t;
235 /* BCC55 seems to understand __declspec(dllimport), it is used in its
236 own header files (winnt.h, ...) - so we can do nothing and get the default*/
238 #undef HAVE_SYS_UTIME_H
239 #define HAVE_UTIME_H
240 #define HAVE_DIRENT_H
242 /* rename a few functions for the Borland compiler */
243 #include <io.h>
244 #define _chsize chsize
245 #define _setmode setmode
247 #else /* !_WIN32 */
248 #error "Only Win32 and later are supported"
249 #endif /* !_WIN32 */
251 #endif /* BORLANDC */
253 /* ------------------------------------------------------------------------*/
254 /* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
255 #if defined(__GNUC__) && defined(_WIN32)
256 /* XXX These defines are likely incomplete, but should be easy to fix.
257 They should be complete enough to build extension modules. */
258 /* Suggested by Rene Liebscher <R.Liebscher@gmx.de> to avoid a GCC 2.91.*
259 bug that requires structure imports. More recent versions of the
260 compiler don't exhibit this bug.
262 #if (__GNUC__==2) && (__GNUC_MINOR__<=91)
263 #warning "Please use an up-to-date version of gcc! (>2.91 recommended)"
264 #endif
266 #define COMPILER "[gcc]"
267 #define hypot _hypot
268 #define PY_LONG_LONG long long
269 #define PY_LLONG_MIN LLONG_MIN
270 #define PY_LLONG_MAX LLONG_MAX
271 #define PY_ULLONG_MAX ULLONG_MAX
272 #endif /* GNUC */
274 /* ------------------------------------------------------------------------*/
275 /* lcc-win32 defines __LCC__ */
276 #if defined(__LCC__)
277 /* XXX These defines are likely incomplete, but should be easy to fix.
278 They should be complete enough to build extension modules. */
280 #define COMPILER "[lcc-win32]"
281 typedef int pid_t;
282 /* __declspec() is supported here too - do nothing to get the defaults */
284 #endif /* LCC */
286 /* ------------------------------------------------------------------------*/
287 /* End of compilers - finish up */
289 #ifndef NO_STDIO_H
290 # include <stdio.h>
291 #endif
293 /* 64 bit ints are usually spelt __int64 unless compiler has overridden */
294 #define HAVE_LONG_LONG 1
295 #ifndef PY_LONG_LONG
296 # define PY_LONG_LONG __int64
297 # define PY_LLONG_MAX _I64_MAX
298 # define PY_LLONG_MIN _I64_MIN
299 # define PY_ULLONG_MAX _UI64_MAX
300 #endif
302 /* For Windows the Python core is in a DLL by default. Test
303 Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
304 #if !defined(MS_NO_COREDLL) && !defined(Py_NO_ENABLE_SHARED)
305 # define Py_ENABLE_SHARED 1 /* standard symbol for shared library */
306 # define MS_COREDLL /* deprecated old symbol */
307 #endif /* !MS_NO_COREDLL && ... */
309 /* All windows compilers that use this header support __declspec */
310 #define HAVE_DECLSPEC_DLL
312 /* For an MSVC DLL, we can nominate the .lib files used by extensions */
313 #ifdef MS_COREDLL
314 # ifndef Py_BUILD_CORE /* not building the core - must be an ext */
315 # if defined(_MSC_VER)
316 /* So MSVC users need not specify the .lib file in
317 their Makefile (other compilers are generally
318 taken care of by distutils.) */
319 # ifdef _DEBUG
320 # pragma comment(lib,"python26_d.lib")
321 # else
322 # pragma comment(lib,"python26.lib")
323 # endif /* _DEBUG */
324 # endif /* _MSC_VER */
325 # endif /* Py_BUILD_CORE */
326 #endif /* MS_COREDLL */
328 #if defined(MS_WIN64)
329 /* maintain "win32" sys.platform for backward compatibility of Python code,
330 the Win64 API should be close enough to the Win32 API to make this
331 preferable */
332 # define PLATFORM "win32"
333 # define SIZEOF_VOID_P 8
334 # define SIZEOF_TIME_T 8
335 # define SIZEOF_OFF_T 4
336 # define SIZEOF_FPOS_T 8
337 # define SIZEOF_HKEY 8
338 # define SIZEOF_SIZE_T 8
339 /* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
340 sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t).
341 On Win64 the second condition is not true, but if fpos_t replaces off_t
342 then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
343 should define this. */
344 # define HAVE_LARGEFILE_SUPPORT
345 #elif defined(MS_WIN32)
346 # define PLATFORM "win32"
347 # define HAVE_LARGEFILE_SUPPORT
348 # define SIZEOF_VOID_P 4
349 # define SIZEOF_OFF_T 4
350 # define SIZEOF_FPOS_T 8
351 # define SIZEOF_HKEY 4
352 # define SIZEOF_SIZE_T 4
353 /* MS VS2005 changes time_t to an 64-bit type on all platforms */
354 # if defined(_MSC_VER) && _MSC_VER >= 1400
355 # define SIZEOF_TIME_T 8
356 # else
357 # define SIZEOF_TIME_T 4
358 # endif
359 #endif
361 #ifdef _DEBUG
362 # define Py_DEBUG
363 #endif
366 #ifdef MS_WIN32
368 #define SIZEOF_SHORT 2
369 #define SIZEOF_INT 4
370 #define SIZEOF_LONG 4
371 #define SIZEOF_LONG_LONG 8
372 #define SIZEOF_DOUBLE 8
373 #define SIZEOF_FLOAT 4
375 /* VC 7.1 has them and VC 6.0 does not. VC 6.0 has a version number of 1200.
376 Microsoft eMbedded Visual C++ 4.0 has a version number of 1201 and doesn't
377 define these.
378 If some compiler does not provide them, modify the #if appropriately. */
379 #if defined(_MSC_VER)
380 #if _MSC_VER > 1201
381 #define HAVE_UINTPTR_T 1
382 #define HAVE_INTPTR_T 1
383 #else
384 /* VC6 & eVC4 don't support the C99 LL suffix for 64-bit integer literals */
385 #define Py_LL(x) x##I64
386 #endif /* _MSC_VER > 1200 */
387 #endif /* _MSC_VER */
389 #endif
391 /* Fairly standard from here! */
393 /* Define if on AIX 3.
394 System headers sometimes define this.
395 We just want to avoid a redefinition error message. */
396 #ifndef _ALL_SOURCE
397 /* #undef _ALL_SOURCE */
398 #endif
400 /* Define to empty if the keyword does not work. */
401 /* #define const */
403 /* Define to 1 if you have the <conio.h> header file. */
404 #ifndef MS_WINCE
405 #define HAVE_CONIO_H 1
406 #endif
408 /* Define to 1 if you have the <direct.h> header file. */
409 #ifndef MS_WINCE
410 #define HAVE_DIRECT_H 1
411 #endif
413 /* Define if you have dirent.h. */
414 /* #define DIRENT 1 */
416 /* Define to the type of elements in the array set by `getgroups'.
417 Usually this is either `int' or `gid_t'. */
418 /* #undef GETGROUPS_T */
420 /* Define to `int' if <sys/types.h> doesn't define. */
421 /* #undef gid_t */
423 /* Define if your struct tm has tm_zone. */
424 /* #undef HAVE_TM_ZONE */
426 /* Define if you don't have tm_zone but do have the external array
427 tzname. */
428 #define HAVE_TZNAME
430 /* Define to `int' if <sys/types.h> doesn't define. */
431 /* #undef mode_t */
433 /* Define if you don't have dirent.h, but have ndir.h. */
434 /* #undef NDIR */
436 /* Define to `long' if <sys/types.h> doesn't define. */
437 /* #undef off_t */
439 /* Define to `int' if <sys/types.h> doesn't define. */
440 /* #undef pid_t */
442 /* Define if the system does not provide POSIX.1 features except
443 with this defined. */
444 /* #undef _POSIX_1_SOURCE */
446 /* Define if you need to in order for stat and other things to work. */
447 /* #undef _POSIX_SOURCE */
449 /* Define as the return type of signal handlers (int or void). */
450 #define RETSIGTYPE void
452 /* Define to `unsigned' if <sys/types.h> doesn't define. */
453 /* #undef size_t */
455 /* Define to `int' if <sys/types.h> doesn't define. */
456 #if _MSC_VER + 0 >= 1300
457 /* VC.NET typedefs socklen_t in ws2tcpip.h. */
458 #else
459 #define socklen_t int
460 #endif
462 /* Define if you have the ANSI C header files. */
463 #define STDC_HEADERS 1
465 /* Define if you don't have dirent.h, but have sys/dir.h. */
466 /* #undef SYSDIR */
468 /* Define if you don't have dirent.h, but have sys/ndir.h. */
469 /* #undef SYSNDIR */
471 /* Define if you can safely include both <sys/time.h> and <time.h>. */
472 /* #undef TIME_WITH_SYS_TIME */
474 /* Define if your <sys/time.h> declares struct tm. */
475 /* #define TM_IN_SYS_TIME 1 */
477 /* Define to `int' if <sys/types.h> doesn't define. */
478 /* #undef uid_t */
480 /* Define if the closedir function returns void instead of int. */
481 /* #undef VOID_CLOSEDIR */
483 /* Define if getpgrp() must be called as getpgrp(0)
484 and (consequently) setpgrp() as setpgrp(0, 0). */
485 /* #undef GETPGRP_HAVE_ARGS */
487 /* Define this if your time.h defines altzone */
488 /* #define HAVE_ALTZONE */
490 /* Define if you have the putenv function. */
491 #ifndef MS_WINCE
492 #define HAVE_PUTENV
493 #endif
495 /* Define if your compiler supports function prototypes */
496 #define HAVE_PROTOTYPES
498 /* Define if you can safely include both <sys/select.h> and <sys/time.h>
499 (which you can't on SCO ODT 3.0). */
500 /* #undef SYS_SELECT_WITH_SYS_TIME */
502 /* Define if you want documentation strings in extension modules */
503 #define WITH_DOC_STRINGS 1
505 /* Define if you want to compile in rudimentary thread support */
506 /* #undef WITH_THREAD */
508 /* Define if you want to use the GNU readline library */
509 /* #define WITH_READLINE 1 */
511 /* Define if you want to have a Unicode type. */
512 #define Py_USING_UNICODE
514 /* Define as the size of the unicode type. */
515 /* This is enough for unicodeobject.h to do the "right thing" on Windows. */
516 #define Py_UNICODE_SIZE 2
518 /* Define to indicate that the Python Unicode representation can be passed
519 as-is to Win32 Wide API. */
520 #define Py_WIN_WIDE_FILENAMES
522 /* Use Python's own small-block memory-allocator. */
523 #define WITH_PYMALLOC 1
525 /* Define if you have clock. */
526 /* #define HAVE_CLOCK */
528 /* Define when any dynamic module loading is enabled */
529 #define HAVE_DYNAMIC_LOADING
531 /* Define if you have ftime. */
532 #ifndef MS_WINCE
533 #define HAVE_FTIME
534 #endif
536 /* Define if you have getpeername. */
537 #define HAVE_GETPEERNAME
539 /* Define if you have getpgrp. */
540 /* #undef HAVE_GETPGRP */
542 /* Define if you have getpid. */
543 #ifndef MS_WINCE
544 #define HAVE_GETPID
545 #endif
547 /* Define if you have gettimeofday. */
548 /* #undef HAVE_GETTIMEOFDAY */
550 /* Define if you have getwd. */
551 /* #undef HAVE_GETWD */
553 /* Define if you have lstat. */
554 /* #undef HAVE_LSTAT */
556 /* Define if you have the mktime function. */
557 #define HAVE_MKTIME
559 /* Define if you have nice. */
560 /* #undef HAVE_NICE */
562 /* Define if you have readlink. */
563 /* #undef HAVE_READLINK */
565 /* Define if you have select. */
566 /* #undef HAVE_SELECT */
568 /* Define if you have setpgid. */
569 /* #undef HAVE_SETPGID */
571 /* Define if you have setpgrp. */
572 /* #undef HAVE_SETPGRP */
574 /* Define if you have setsid. */
575 /* #undef HAVE_SETSID */
577 /* Define if you have setvbuf. */
578 #define HAVE_SETVBUF
580 /* Define if you have siginterrupt. */
581 /* #undef HAVE_SIGINTERRUPT */
583 /* Define if you have symlink. */
584 /* #undef HAVE_SYMLINK */
586 /* Define if you have tcgetpgrp. */
587 /* #undef HAVE_TCGETPGRP */
589 /* Define if you have tcsetpgrp. */
590 /* #undef HAVE_TCSETPGRP */
592 /* Define if you have times. */
593 /* #undef HAVE_TIMES */
595 /* Define if you have uname. */
596 /* #undef HAVE_UNAME */
598 /* Define if you have waitpid. */
599 /* #undef HAVE_WAITPID */
601 /* Define to 1 if you have the `wcscoll' function. */
602 #ifndef MS_WINCE
603 #define HAVE_WCSCOLL 1
604 #endif
606 /* Define if you have the <dlfcn.h> header file. */
607 /* #undef HAVE_DLFCN_H */
609 /* Define to 1 if you have the <errno.h> header file. */
610 #ifndef MS_WINCE
611 #define HAVE_ERRNO_H 1
612 #endif
614 /* Define if you have the <fcntl.h> header file. */
615 #ifndef MS_WINCE
616 #define HAVE_FCNTL_H 1
617 #endif
619 /* Define to 1 if you have the <process.h> header file. */
620 #ifndef MS_WINCE
621 #define HAVE_PROCESS_H 1
622 #endif
624 /* Define to 1 if you have the <signal.h> header file. */
625 #ifndef MS_WINCE
626 #define HAVE_SIGNAL_H 1
627 #endif
629 /* Define if you have the <stdarg.h> prototypes. */
630 #define HAVE_STDARG_PROTOTYPES
632 /* Define if you have the <stddef.h> header file. */
633 #define HAVE_STDDEF_H 1
635 /* Define if you have the <sys/audioio.h> header file. */
636 /* #undef HAVE_SYS_AUDIOIO_H */
638 /* Define if you have the <sys/param.h> header file. */
639 /* #define HAVE_SYS_PARAM_H 1 */
641 /* Define if you have the <sys/select.h> header file. */
642 /* #define HAVE_SYS_SELECT_H 1 */
644 /* Define to 1 if you have the <sys/stat.h> header file. */
645 #ifndef MS_WINCE
646 #define HAVE_SYS_STAT_H 1
647 #endif
649 /* Define if you have the <sys/time.h> header file. */
650 /* #define HAVE_SYS_TIME_H 1 */
652 /* Define if you have the <sys/times.h> header file. */
653 /* #define HAVE_SYS_TIMES_H 1 */
655 /* Define to 1 if you have the <sys/types.h> header file. */
656 #ifndef MS_WINCE
657 #define HAVE_SYS_TYPES_H 1
658 #endif
660 /* Define if you have the <sys/un.h> header file. */
661 /* #define HAVE_SYS_UN_H 1 */
663 /* Define if you have the <sys/utime.h> header file. */
664 /* #define HAVE_SYS_UTIME_H 1 */
666 /* Define if you have the <sys/utsname.h> header file. */
667 /* #define HAVE_SYS_UTSNAME_H 1 */
669 /* Define if you have the <thread.h> header file. */
670 /* #undef HAVE_THREAD_H */
672 /* Define if you have the <unistd.h> header file. */
673 /* #define HAVE_UNISTD_H 1 */
675 /* Define if you have the <utime.h> header file. */
676 /* #define HAVE_UTIME_H 1 */
678 /* Define if the compiler provides a wchar.h header file. */
679 #define HAVE_WCHAR_H 1
681 /* Define if you have the dl library (-ldl). */
682 /* #undef HAVE_LIBDL */
684 /* Define if you have the mpc library (-lmpc). */
685 /* #undef HAVE_LIBMPC */
687 /* Define if you have the nsl library (-lnsl). */
688 #define HAVE_LIBNSL 1
690 /* Define if you have the seq library (-lseq). */
691 /* #undef HAVE_LIBSEQ */
693 /* Define if you have the socket library (-lsocket). */
694 #define HAVE_LIBSOCKET 1
696 /* Define if you have the sun library (-lsun). */
697 /* #undef HAVE_LIBSUN */
699 /* Define if you have the termcap library (-ltermcap). */
700 /* #undef HAVE_LIBTERMCAP */
702 /* Define if you have the termlib library (-ltermlib). */
703 /* #undef HAVE_LIBTERMLIB */
705 /* Define if you have the thread library (-lthread). */
706 /* #undef HAVE_LIBTHREAD */
708 /* WinSock does not use a bitmask in select, and uses
709 socket handles greater than FD_SETSIZE */
710 #define Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE
712 #endif /* !Py_CONFIG_H */