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