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