blob: a09899b9436233f3768eba0b4ee90c1cc7167025 [file] [log] [blame]
Guido van Rossum87d5e701996-05-28 22:50:17 +00001#ifndef Py_CONFIG_H
2#define Py_CONFIG_H
Guido van Rossum87d5e701996-05-28 22:50:17 +00003
4/* config.h. NOT Generated automatically by configure.
5
6This is a manually maintained version used for the Watcom,
7Borland and and Microsoft Visual C++ compilers. It is a
8standard part of the Python distribution.
9
Guido van Rossum950a1261996-07-30 17:38:17 +000010WINDOWS DEFINES:
11The code specific to Windows should be wrapped around one of
12the following #defines
13
Guido van Rossumc66ae962000-05-08 14:14:48 +000014MS_WIN64 - Code specific to the MS Win64 API
15MS_WIN32 - Code specific to the MS Win32 (and Win64) API
Guido van Rossum950a1261996-07-30 17:38:17 +000016MS_WIN16 - Code specific to the old 16 bit Windows API.
17MS_WINDOWS - Code specific to Windows, but all versions.
18MS_COREDLL - Code if the Python core is built as a DLL.
19
20Note that the old defines "NT" and "WIN32" are still supported, but
21will soon be dropped.
22
23Also note that neither "_M_IX86" or "_MSC_VER" should be used for
24any purpose other than "Windows Intel x86 specific" and "Microsoft
25compiler specific". Therefore, these should be very rare.
26
Guido van Rossum87d5e701996-05-28 22:50:17 +000027*/
28
Fred Drake91c4e2b2000-06-19 13:41:54 +000029
Guido van Rossum87d5e701996-05-28 22:50:17 +000030/*
31 Some systems require special declarations for data items imported
32 or exported from dynamic link libraries. Note that the definition
33 of DL_IMPORT covers both cases. Define USE_DL_IMPORT for the client
34 of a DLL. Define USE_DL_EXPORT when making a DLL.
35*/
36
37#include <io.h>
38#define HAVE_LIMITS_H
39#define HAVE_HYPOT
40#define DONT_HAVE_SIG_ALARM
41#define DONT_HAVE_SIG_PAUSE
Guido van Rossum1bc716f1996-06-28 19:12:06 +000042#define LONG_BIT 32
Guido van Rossum950a1261996-07-30 17:38:17 +000043#define PREFIX ""
44#define EXEC_PREFIX ""
Guido van Rossum87d5e701996-05-28 22:50:17 +000045
46/* Microsoft C defines _MSC_VER */
Guido van Rossumc66ae962000-05-08 14:14:48 +000047#ifdef _MSC_VER
48
49/* MSVC defines _WINxx to differentiate the windows platform types
50
51 Note that for compatibility reasons _WIN32 is defined on Win32
52 *and* on Win64. For the same reasons, in Python, MS_WIN32 is
53 defined on Win32 *and* Win64. Win32 only code must therefore be
54 guarded as follows:
55 #if defined(MS_WIN32) && !defined(MS_WIN64)
56*/
57#ifdef _WIN64
58#define MS_WIN64
59#endif
60#ifdef _WIN32
61#define NT /* NT is obsolete - please use MS_WIN32 instead */
62#define MS_WIN32
63#endif
64#ifdef _WIN16
65#define MS_WIN16
66#endif
67#define MS_WINDOWS
68
69/* set the COMPILER */
70#ifdef MS_WIN64
71#ifdef _M_IX86
72#define COMPILER "[MSC 64 bit (Intel)]"
73#elif defined(_M_ALPHA)
74#define COMPILER "[MSC 64 bit (Alpha)]"
75#else
76#define COMPILER "[MSC 64 bit (Unknown)]"
77#endif
78#endif /* MS_WIN64 */
79
80#if defined(MS_WIN32) && !defined(MS_WIN64)
81#ifdef _M_IX86
82#define COMPILER "[MSC 32 bit (Intel)]"
83#elif defined(_M_ALPHA)
84#define COMPILER "[MSC 32 bit (Alpha)]"
85#else
86#define COMPILER "[MSC (Unknown)]"
87#endif
88#endif /* MS_WIN32 && !MS_WIN64 */
89
90#endif /* _MSC_VER */
Guido van Rossum87d5e701996-05-28 22:50:17 +000091
92#if defined(_MSC_VER) && _MSC_VER > 850
Guido van Rossum1bc716f1996-06-28 19:12:06 +000093/* Start of defines for MS_WIN32 using VC++ 2.0 and up */
Guido van Rossum950a1261996-07-30 17:38:17 +000094
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +000095/* For NT the Python core is in a DLL by default. Test the
96standard macro MS_COREDLL to find out. If you have an exception
97you must define MS_NO_COREDLL (do not test this macro) */
98#ifndef MS_NO_COREDLL
99#define MS_COREDLL /* Python core is in a DLL */
Guido van Rossum950a1261996-07-30 17:38:17 +0000100#ifndef USE_DL_EXPORT
101#define USE_DL_IMPORT
102#endif /* !USE_DL_EXPORT */
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000103#endif /* !MS_NO_COREDLL */
Guido van Rossum950a1261996-07-30 17:38:17 +0000104
Guido van Rossum52f49151998-04-11 02:31:30 +0000105#define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
Guido van Rossum87d5e701996-05-28 22:50:17 +0000106typedef int pid_t;
Guido van Rossum1bc716f1996-06-28 19:12:06 +0000107#define WORD_BIT 32
Guido van Rossum87d5e701996-05-28 22:50:17 +0000108#pragma warning(disable:4113)
109#define hypot _hypot
110#include <stdio.h>
111#define HAVE_CLOCK
112#define HAVE_STRFTIME
Guido van Rossum9b499d21998-08-12 02:10:05 +0000113#define HAVE_STRERROR
Guido van Rossum87d5e701996-05-28 22:50:17 +0000114#define NT_THREADS
115#define WITH_THREAD
116#ifndef NETSCAPE_PI
117#define USE_SOCKET
Guido van Rossum87d5e701996-05-28 22:50:17 +0000118#endif
119#ifdef USE_DL_IMPORT
120#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
121#endif
122#ifdef USE_DL_EXPORT
123#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
Guido van Rossum9df827f1998-12-10 16:50:49 +0000124#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
Guido van Rossum87d5e701996-05-28 22:50:17 +0000125#endif
Guido van Rossum950a1261996-07-30 17:38:17 +0000126
Guido van Rossum3293b071998-08-25 16:07:15 +0000127#define HAVE_LONG_LONG 1
128#define LONG_LONG __int64
Guido van Rossum950a1261996-07-30 17:38:17 +0000129#endif /* _MSC_VER && > 850 */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000130
Guido van Rossumc66ae962000-05-08 14:14:48 +0000131#if defined(_MSC_VER) && _MSC_VER <= 850 /* presume this implies Win16 */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000132/* Start of defines for 16-bit Windows using VC++ 1.5 */
133#define COMPILER "[MSC 16-bit]"
Guido van Rossumd3af2f31997-11-22 21:56:10 +0000134#define PYTHONPATH ".;.\\lib;.\\lib\\plat-win;.\\lib\\dos-8x3"
Guido van Rossum87d5e701996-05-28 22:50:17 +0000135#define IMPORT_8x3_NAMES
136typedef int pid_t;
Guido van Rossum1bc716f1996-06-28 19:12:06 +0000137#define WORD_BIT 16
Guido van Rossum3d37f431999-01-14 18:51:53 +0000138#define SIZEOF_INT 2
139#define SIZEOF_LONG 4
140#define SIZEOF_VOID_P 4
Guido van Rossum87d5e701996-05-28 22:50:17 +0000141#pragma warning(disable:4113)
142#define memcpy memmove /* memcpy dangerous pointer wrap in Win 3.1 */
143#define hypot _hypot
144#define SIGINT 2
145#include <stdio.h>
146/* Windows 3.1 will not tolerate any console io in a dll */
147#ifdef _USRDLL
148#include <time.h>
Guido van Rossumf57c1701997-09-29 23:36:42 +0000149#ifdef __cplusplus
150extern "C" {
151#endif
Guido van Rossum87d5e701996-05-28 22:50:17 +0000152#define stdin ((FILE *)0)
153#define stdout ((FILE *)1)
154#define stderr ((FILE *)2)
155#define fflush Py_fflush
156int Py_fflush(FILE *);
157#define fgets Py_fgets
158char *Py_fgets(char *, int, FILE *);
159#define fileno Py_fileno
160int Py_fileno(FILE *);
161#define fprintf Py_fprintf
162int Py_fprintf(FILE *, const char *, ...);
163#define printf Py_printf
164int Py_printf(const char *, ...);
165#define sscanf Py_sscanf
166int Py_sscanf(const char *, const char *, ...);
167clock_t clock();
168void _exit(int);
169void exit(int);
170int sscanf(const char *, const char *, ...);
Guido van Rossumf57c1701997-09-29 23:36:42 +0000171#ifdef __cplusplus
172}
173#endif
Guido van Rossum87d5e701996-05-28 22:50:17 +0000174#endif /* _USRDLL */
175#ifndef NETSCAPE_PI
176/* use sockets, but not in a Netscape dll */
177#define USE_SOCKET
178#endif
179#endif /* MS_WIN16 */
180
181/* The Watcom compiler defines __WATCOMC__ */
182#ifdef __WATCOMC__
183#define COMPILER "[Watcom]"
Guido van Rossumd3af2f31997-11-22 21:56:10 +0000184#define PYTHONPATH ".;.\\lib;.\\lib\\plat-win;.\\lib\\dos-8x3"
Guido van Rossum87d5e701996-05-28 22:50:17 +0000185#define IMPORT_8x3_NAMES
186#include <ctype.h>
187#include <direct.h>
188typedef int mode_t;
189typedef int uid_t;
190typedef int gid_t;
Guido van Rossum1bc716f1996-06-28 19:12:06 +0000191typedef int pid_t;
192#if defined(__NT__)
193#define NT /* NT is obsolete - please use MS_WIN32 instead */
194#define MS_WIN32
195#define MS_WINDOWS
196#define NT_THREADS
197#define USE_SOCKET
198#define WITH_THREAD
199#elif defined(__WINDOWS__)
200#define MS_WIN16
201#define MS_WINDOWS
202#endif
203#ifdef M_I386
204#define WORD_BIT 32
Guido van Rossum3d37f431999-01-14 18:51:53 +0000205#define SIZEOF_INT 4
206#define SIZEOF_LONG 4
207#define SIZEOF_VOID_P 4
Guido van Rossum1bc716f1996-06-28 19:12:06 +0000208#else
209#define WORD_BIT 16
Guido van Rossum3d37f431999-01-14 18:51:53 +0000210#define SIZEOF_INT 2
211#define SIZEOF_LONG 4
212#define SIZEOF_VOID_P 4
Guido van Rossum1bc716f1996-06-28 19:12:06 +0000213#endif
Guido van Rossum87d5e701996-05-28 22:50:17 +0000214#define VA_LIST_IS_ARRAY
215#define HAVE_CLOCK
216#define HAVE_STRFTIME
217#ifdef USE_DL_EXPORT
218#define DL_IMPORT(RTYPE) RTYPE __export
219#endif
220#endif /* __WATCOMC__ */
221
222/* The Borland compiler defines __BORLANDC__ */
Guido van Rossumcf6c0ea1996-10-21 14:52:24 +0000223/* XXX These defines are likely incomplete, but should be easy to fix. */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000224#ifdef __BORLANDC__
225#define COMPILER "[Borland]"
Guido van Rossum87d5e701996-05-28 22:50:17 +0000226#define HAVE_CLOCK
227#define HAVE_STRFTIME
Mark Hammondc756bdb2000-08-15 22:33:59 +0000228
229#ifdef _WIN32
230
231/* tested with BCC 5.5 (__BORLANDC__ >= 0x0550)
232 */
233#define NT /* NT is obsolete - please use MS_WIN32 instead */
234#define MS_WIN32
235#define MS_WINDOWS
236
237/* For NT the Python core is in a DLL by default. Test the
238standard macro MS_COREDLL to find out. If you have an exception
239you must define MS_NO_COREDLL (do not test this macro) */
240#ifndef MS_NO_COREDLL
241#define MS_COREDLL /* Python core is in a DLL */
242#ifndef USE_DL_EXPORT
243#define USE_DL_IMPORT
244#endif /* !USE_DL_EXPORT */
245#endif /* !MS_NO_COREDLL */
246
247#define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
248typedef int pid_t;
249#define WORD_BIT 32
250#include <stdio.h>
251#define HAVE_STRERROR
252#define NT_THREADS
253#define WITH_THREAD
254#ifndef NETSCAPE_PI
255#define USE_SOCKET
256#endif
257/* BCC55 seems to understand __declspec(dllimport), it is used in its
258 own header files (winnt.h, ...) */
259#ifdef USE_DL_IMPORT
260#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
261#endif
262#ifdef USE_DL_EXPORT
263#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
264#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
265#endif
266
267#define HAVE_LONG_LONG 1
268#define LONG_LONG __int64
269
270#else /* !_WIN32 */
271/* XXX These defines are likely incomplete, but should be easy to fix. */
272
273#define PYTHONPATH ".;.\\lib;.\\lib\\plat-win;.\\lib\\dos-8x3"
274#define IMPORT_8x3_NAMES
Guido van Rossum87d5e701996-05-28 22:50:17 +0000275#ifdef USE_DL_IMPORT
276#define DL_IMPORT(RTYPE) RTYPE __import
277#endif
Mark Hammondc756bdb2000-08-15 22:33:59 +0000278
279#endif /* !_WIN32 */
280
Guido van Rossum87d5e701996-05-28 22:50:17 +0000281#endif /* BORLANDC */
282
Mark Hammondc756bdb2000-08-15 22:33:59 +0000283/* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
284#if defined(__GNUC__) && defined(_WIN32)
285/* XXX These defines are likely incomplete, but should be easy to fix.
286 They should be complete enough to build extension modules. */
287/* Suggested by Rene Liebscher <R.Liebscher@gmx.de> to avoid a GCC 2.91.*
288 bug that requires structure imports. More recent versions of the
289 compiler don't exhibit this bug.
290*/
291#if (__GNUC__==2) && (__GNUC_MINOR__<=91)
292#warning "Please use an up-to-date version of gcc! (>2.91 recommended)"
293#endif
294
295#define NT /* NT is obsolete - please use MS_WIN32 instead */
296#define MS_WIN32
297#define MS_WINDOWS
298
299/* For NT the Python core is in a DLL by default. Test the
300standard macro MS_COREDLL to find out. If you have an exception
301you must define MS_NO_COREDLL (do not test this macro) */
302#ifndef MS_NO_COREDLL
303#define MS_COREDLL /* Python core is in a DLL */
304#ifndef USE_DL_EXPORT
305#define USE_DL_IMPORT
306#endif /* !USE_DL_EXPORT */
307#endif /* !MS_NO_COREDLL */
308
309#define COMPILER "[gcc]"
310#define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
311#define WORD_BIT 32
312#define hypot _hypot
313#include <stdio.h>
314#define HAVE_CLOCK
315#define HAVE_STRFTIME
316#define HAVE_STRERROR
317#define NT_THREADS
318#define WITH_THREAD
319#ifndef NETSCAPE_PI
320#define USE_SOCKET
321#endif
322#ifdef USE_DL_IMPORT
323#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
324#endif
325#ifdef USE_DL_EXPORT
326#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
327#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
328#endif
329
330#define HAVE_LONG_LONG 1
331#define LONG_LONG long long
332#endif /* GNUC */
333
334/* lcc-win32 defines __LCC__ */
335
336#if defined(__LCC__)
337/* XXX These defines are likely incomplete, but should be easy to fix.
338 They should be complete enough to build extension modules. */
339
340#define NT /* NT is obsolete - please use MS_WIN32 instead */
341#define MS_WIN32
342#define MS_WINDOWS
343
344/* For NT the Python core is in a DLL by default. Test the
345standard macro MS_COREDLL to find out. If you have an exception
346you must define MS_NO_COREDLL (do not test this macro) */
347#ifndef MS_NO_COREDLL
348#define MS_COREDLL /* Python core is in a DLL */
349#ifndef USE_DL_EXPORT
350#define USE_DL_IMPORT
351#endif /* !USE_DL_EXPORT */
352#endif /* !MS_NO_COREDLL */
353
354#define COMPILER "[lcc-win32]"
355#define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
356typedef int pid_t;
357#define WORD_BIT 32
358#include <stdio.h>
359#define HAVE_CLOCK
360#define HAVE_STRFTIME
361#define HAVE_STRERROR
362#define NT_THREADS
363#define WITH_THREAD
364#ifndef NETSCAPE_PI
365#define USE_SOCKET
366#endif
367#ifdef USE_DL_IMPORT
368#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
369#endif
370#ifdef USE_DL_EXPORT
371#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
372#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
373#endif
374
375#define HAVE_LONG_LONG 1
376#define LONG_LONG __int64
377#endif /* LCC */
378
Guido van Rossum950a1261996-07-30 17:38:17 +0000379/* End of compilers - finish up */
380
Fredrik Lundh6947d0b2000-08-07 20:16:28 +0000381/* define some ANSI types that are not defined in earlier Win headers */
Guido van Rossum361b5832000-06-30 22:17:53 +0000382#if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */
Fred Drakea3f6e912000-06-29 20:44:47 +0000383#include <basetsd.h>
Guido van Rossum361b5832000-06-30 22:17:53 +0000384#endif
Fred Drakea3f6e912000-06-29 20:44:47 +0000385#if defined(MS_WINDOWS) && !defined(MS_WIN64)
386typedef long intptr_t;
Fredrik Lundh6947d0b2000-08-07 20:16:28 +0000387typedef unsigned long uintptr_t;
Fred Drakea3f6e912000-06-29 20:44:47 +0000388#endif
389
Guido van Rossumc66ae962000-05-08 14:14:48 +0000390#if defined(MS_WIN64)
Guido van Rossumda5cc822000-05-10 13:25:32 +0000391/* maintain "win32" sys.platform for backward compatibility of Python code,
392 the Win64 API should be close enough to the Win32 API to make this
393 preferable */
Fred Drakea3f6e912000-06-29 20:44:47 +0000394# define PLATFORM "win32"
395# define SIZEOF_VOID_P 8
396# define SIZEOF_TIME_T 8
397# define SIZEOF_OFF_T 4
398# define SIZEOF_FPOS_T 8
399# define SIZEOF_HKEY 8
400/* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
401 sizeof(off_t) > sizeof(long), and sizeof(LONG_LONG) >= sizeof(off_t).
402 On Win64 the second condition is not true, but if fpos_t replaces off_t
403 then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
404 should define this. */
405# define HAVE_LARGEFILE_SUPPORT
Guido van Rossumc66ae962000-05-08 14:14:48 +0000406#elif defined(MS_WIN32)
Fred Drakea3f6e912000-06-29 20:44:47 +0000407# define PLATFORM "win32"
408# ifdef _M_ALPHA
409# define SIZEOF_VOID_P 8
410# define SIZEOF_TIME_T 8
411# else
412# define SIZEOF_VOID_P 4
413# define SIZEOF_TIME_T 4
414# define SIZEOF_OFF_T 4
415# define SIZEOF_FPOS_T 8
416# define SIZEOF_HKEY 4
417# endif
Guido van Rossumc66ae962000-05-08 14:14:48 +0000418#elif defined(MS_WIN16)
Fred Drakea3f6e912000-06-29 20:44:47 +0000419# define PLATFORM "win16"
Guido van Rossum950a1261996-07-30 17:38:17 +0000420#else
Fred Drakea3f6e912000-06-29 20:44:47 +0000421# define PLATFORM "dos"
Guido van Rossumc66ae962000-05-08 14:14:48 +0000422#endif
423
Guido van Rossum950a1261996-07-30 17:38:17 +0000424
Guido van Rossumf4aeb841998-02-19 20:59:23 +0000425#ifdef MS_WIN32
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000426
Greg Wardff7b5622000-08-05 00:58:14 +0000427#if !defined(USE_DL_EXPORT) && defined(_MSC_VER)
428/* So nobody using MSVC needs to specify the .lib in their Makefile any
429 more (other compilers will still need to do so, but that's taken care
430 of by the Distutils, so it's not a problem). */
Guido van Rossum446f0331998-08-07 15:32:00 +0000431#ifdef _DEBUG
Mark Hammond306e2402000-06-30 15:47:02 +0000432#pragma comment(lib,"python20_d.lib")
Guido van Rossum446f0331998-08-07 15:32:00 +0000433#else
Mark Hammond306e2402000-06-30 15:47:02 +0000434#pragma comment(lib,"python20.lib")
Guido van Rossum446f0331998-08-07 15:32:00 +0000435#endif
Guido van Rossum1a87be11998-08-08 18:25:43 +0000436#endif /* USE_DL_EXPORT */
Guido van Rossum446f0331998-08-07 15:32:00 +0000437
Guido van Rossumbffd6832000-01-20 22:32:56 +0000438#ifdef _DEBUG
439#define Py_DEBUG
440#endif
441
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000442#define SIZEOF_INT 4
443#define SIZEOF_LONG 4
Guido van Rossumb00d2521998-09-17 13:19:36 +0000444#define SIZEOF_LONG_LONG 8
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000445
Guido van Rossumc87f5f41999-06-09 15:36:37 +0000446/* Smaller stack size limit. (9500 would work too, but we're conservative.) */
447
448#ifndef MAX_RECURSION_DEPTH
449#define MAX_RECURSION_DEPTH 5000
450#endif
451
452
Guido van Rossumf4aeb841998-02-19 20:59:23 +0000453/* EXPERIMENTAL FEATURE: When CHECK_IMPORT_CASE is defined, check case of
454 imported modules against case of file; this causes "import String" to fail
455 with a NameError exception when it finds "string.py". Normally, you set
456 the environment variable PYTHONCASEOK (to anything) to disable this
457 feature; to permanently disable it, #undef it here. This only works on
458 case-preserving filesystems; otherwise you definitely want it off. */
459#define CHECK_IMPORT_CASE
460#endif
461
Guido van Rossum87d5e701996-05-28 22:50:17 +0000462/* Fairly standard from here! */
463
464/* Define if on AIX 3.
465 System headers sometimes define this.
466 We just want to avoid a redefinition error message. */
467#ifndef _ALL_SOURCE
468/* #undef _ALL_SOURCE */
469#endif
470
471/* Define to empty if the keyword does not work. */
472/* #define const */
473
474/* Define if you have dirent.h. */
475/* #define DIRENT 1 */
476
477/* Define to the type of elements in the array set by `getgroups'.
478 Usually this is either `int' or `gid_t'. */
479/* #undef GETGROUPS_T */
480
481/* Define to `int' if <sys/types.h> doesn't define. */
482/* #undef gid_t */
483
484/* Define if your struct tm has tm_zone. */
485/* #undef HAVE_TM_ZONE */
486
487/* Define if you don't have tm_zone but do have the external array
488 tzname. */
489#define HAVE_TZNAME
490
491/* Define if on MINIX. */
492/* #undef _MINIX */
493
494/* Define to `int' if <sys/types.h> doesn't define. */
495/* #undef mode_t */
496
497/* Define if you don't have dirent.h, but have ndir.h. */
498/* #undef NDIR */
499
500/* Define to `long' if <sys/types.h> doesn't define. */
501/* #undef off_t */
502
503/* Define to `int' if <sys/types.h> doesn't define. */
504/* #undef pid_t */
505
506/* Define if the system does not provide POSIX.1 features except
507 with this defined. */
508/* #undef _POSIX_1_SOURCE */
509
510/* Define if you need to in order for stat and other things to work. */
511/* #undef _POSIX_SOURCE */
512
513/* Define as the return type of signal handlers (int or void). */
514#define RETSIGTYPE void
515
516/* Define to `unsigned' if <sys/types.h> doesn't define. */
517/* #undef size_t */
518
Guido van Rossumdb575db2000-04-24 15:37:34 +0000519/* Define to `int' if <sys/types.h> doesn't define. */
520#define socklen_t int
521
Guido van Rossum87d5e701996-05-28 22:50:17 +0000522/* Define if you have the ANSI C header files. */
523#define STDC_HEADERS 1
524
525/* Define if you don't have dirent.h, but have sys/dir.h. */
526/* #undef SYSDIR */
527
528/* Define if you don't have dirent.h, but have sys/ndir.h. */
529/* #undef SYSNDIR */
530
531/* Define if you can safely include both <sys/time.h> and <time.h>. */
532/* #undef TIME_WITH_SYS_TIME */
533
534/* Define if your <sys/time.h> declares struct tm. */
535/* #define TM_IN_SYS_TIME 1 */
536
537/* Define to `int' if <sys/types.h> doesn't define. */
538/* #undef uid_t */
539
540/* Define if the closedir function returns void instead of int. */
541/* #undef VOID_CLOSEDIR */
542
543/* Define if your <unistd.h> contains bad prototypes for exec*()
544 (as it does on SGI IRIX 4.x) */
545/* #undef BAD_EXEC_PROTOTYPES */
546
547/* Define if your compiler botches static forward declarations
548 (as it does on SCI ODT 3.0) */
549#define BAD_STATIC_FORWARD 1
550
551/* Define if getpgrp() must be called as getpgrp(0)
552 and (consequently) setpgrp() as setpgrp(0, 0). */
553/* #undef GETPGRP_HAVE_ARGS */
554
555/* Define this if your time.h defines altzone */
556/* #define HAVE_ALTZONE */
557
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000558/* Define if you have the putenv function. */
559#ifdef MS_WIN32
560/* Does this exist on Win16? */
561#define HAVE_PUTENV
562#endif
563
Guido van Rossum87d5e701996-05-28 22:50:17 +0000564/* Define if your compiler supports function prototypes */
565#define HAVE_PROTOTYPES
566
567/* Define if you can safely include both <sys/select.h> and <sys/time.h>
568 (which you can't on SCO ODT 3.0). */
569/* #undef SYS_SELECT_WITH_SYS_TIME */
570
571/* Define if you want to use SGI (IRIX 4) dynamic linking.
572 This requires the "dl" library by Jack Jansen,
573 ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
574 Don't bother on IRIX 5, it already has dynamic linking using SunOS
Guido van Rossum950a1261996-07-30 17:38:17 +0000575 style shared libraries */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000576/* #undef WITH_SGI_DL */
577
578/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
579 This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
580 Sequent Symmetry (Dynix), and Atari ST.
581 This requires the "dl-dld" library,
582 ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
583 as well as the "GNU dld" library,
584 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
585 Don't bother on SunOS 4 or 5, they already have dynamic linking using
Guido van Rossum950a1261996-07-30 17:38:17 +0000586 shared libraries */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000587/* #undef WITH_DL_DLD */
588
589/* Define if you want to compile in rudimentary thread support */
590/* #undef WITH_THREAD */
591
592/* Define if you want to use the GNU readline library */
593/* #define WITH_READLINE 1 */
594
Jeremy Hyltonc5007aa2000-06-30 05:02:53 +0000595/* Define if you want cycle garbage collection */
Guido van Rossum47674022000-06-30 20:31:50 +0000596#define WITH_CYCLE_GC 1
Jeremy Hyltonc5007aa2000-06-30 05:02:53 +0000597
Guido van Rossum87d5e701996-05-28 22:50:17 +0000598/* Define if you have clock. */
599/* #define HAVE_CLOCK */
600
Guido van Rossum9f9fa6d1999-12-20 22:57:41 +0000601/* Define when any dynamic module loading is enabled */
602#define HAVE_DYNAMIC_LOADING
603
Guido van Rossum87d5e701996-05-28 22:50:17 +0000604/* Define if you have ftime. */
605#define HAVE_FTIME
606
607/* Define if you have getpeername. */
Guido van Rossumc3397531997-05-06 15:58:18 +0000608#define HAVE_GETPEERNAME
Guido van Rossum87d5e701996-05-28 22:50:17 +0000609
610/* Define if you have getpgrp. */
611/* #undef HAVE_GETPGRP */
612
613/* Define if you have getpid. */
Guido van Rossumc3397531997-05-06 15:58:18 +0000614#define HAVE_GETPID
Guido van Rossum87d5e701996-05-28 22:50:17 +0000615
616/* Define if you have gettimeofday. */
617/* #undef HAVE_GETTIMEOFDAY */
618
619/* Define if you have getwd. */
620/* #undef HAVE_GETWD */
621
622/* Define if you have lstat. */
623/* #undef HAVE_LSTAT */
624
Guido van Rossum63096d41998-04-10 21:28:49 +0000625/* Define if you have the mktime function. */
626#define HAVE_MKTIME
627
Guido van Rossum87d5e701996-05-28 22:50:17 +0000628/* Define if you have nice. */
629/* #undef HAVE_NICE */
630
631/* Define if you have readlink. */
632/* #undef HAVE_READLINK */
633
634/* Define if you have select. */
635/* #undef HAVE_SELECT */
636
637/* Define if you have setpgid. */
638/* #undef HAVE_SETPGID */
639
640/* Define if you have setpgrp. */
641/* #undef HAVE_SETPGRP */
642
643/* Define if you have setsid. */
644/* #undef HAVE_SETSID */
645
Guido van Rossumc3397531997-05-06 15:58:18 +0000646/* Define if you have setvbuf. */
647#define HAVE_SETVBUF
648
Guido van Rossum87d5e701996-05-28 22:50:17 +0000649/* Define if you have siginterrupt. */
650/* #undef HAVE_SIGINTERRUPT */
651
652/* Define if you have symlink. */
653/* #undef HAVE_SYMLINK */
654
655/* Define if you have tcgetpgrp. */
656/* #undef HAVE_TCGETPGRP */
657
658/* Define if you have tcsetpgrp. */
659/* #undef HAVE_TCSETPGRP */
660
661/* Define if you have times. */
662/* #undef HAVE_TIMES */
663
664/* Define if you have uname. */
665/* #undef HAVE_UNAME */
666
667/* Define if you have waitpid. */
668/* #undef HAVE_WAITPID */
669
670/* Define if you have the <dlfcn.h> header file. */
671/* #undef HAVE_DLFCN_H */
672
673/* Define if you have the <fcntl.h> header file. */
674#define HAVE_FCNTL_H 1
675
676/* Define if you have the <signal.h> header file. */
677#define HAVE_SIGNAL_H 1
678
679/* Define if you have the <stdarg.h> header file. */
680#define HAVE_STDARG_H 1
681
682/* Define if you have the <stdarg.h> prototypes. */
683#define HAVE_STDARG_PROTOTYPES
684
Guido van Rossum4da55f01998-09-23 13:35:45 +0000685/* Define if you have the <stddef.h> header file. */
686#define HAVE_STDDEF_H 1
687
Guido van Rossum87d5e701996-05-28 22:50:17 +0000688/* Define if you have the <stdlib.h> header file. */
689#define HAVE_STDLIB_H 1
690
691/* Define if you have the <sys/audioio.h> header file. */
692/* #undef HAVE_SYS_AUDIOIO_H */
693
694/* Define if you have the <sys/param.h> header file. */
695/* #define HAVE_SYS_PARAM_H 1 */
696
697/* Define if you have the <sys/select.h> header file. */
698/* #define HAVE_SYS_SELECT_H 1 */
699
700/* Define if you have the <sys/time.h> header file. */
701/* #define HAVE_SYS_TIME_H 1 */
702
703/* Define if you have the <sys/times.h> header file. */
704/* #define HAVE_SYS_TIMES_H 1 */
705
706/* Define if you have the <sys/un.h> header file. */
707/* #define HAVE_SYS_UN_H 1 */
708
709/* Define if you have the <sys/utime.h> header file. */
710#define HAVE_SYS_UTIME_H 1
711
712/* Define if you have the <sys/utsname.h> header file. */
713/* #define HAVE_SYS_UTSNAME_H 1 */
714
715/* Define if you have the <thread.h> header file. */
716/* #undef HAVE_THREAD_H */
717
718/* Define if you have the <unistd.h> header file. */
719/* #define HAVE_UNISTD_H 1 */
720
721/* Define if you have the <utime.h> header file. */
722/* #define HAVE_UTIME_H 1 */
723
724/* Define if you have the dl library (-ldl). */
725/* #undef HAVE_LIBDL */
726
727/* Define if you have the mpc library (-lmpc). */
728/* #undef HAVE_LIBMPC */
729
730/* Define if you have the nsl library (-lnsl). */
731#define HAVE_LIBNSL 1
732
733/* Define if you have the seq library (-lseq). */
734/* #undef HAVE_LIBSEQ */
735
736/* Define if you have the socket library (-lsocket). */
737#define HAVE_LIBSOCKET 1
738
739/* Define if you have the sun library (-lsun). */
740/* #undef HAVE_LIBSUN */
741
742/* Define if you have the termcap library (-ltermcap). */
743/* #undef HAVE_LIBTERMCAP */
744
745/* Define if you have the termlib library (-ltermlib). */
746/* #undef HAVE_LIBTERMLIB */
747
748/* Define if you have the thread library (-lthread). */
749/* #undef HAVE_LIBTHREAD */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000750#endif /* !Py_CONFIG_H */