blob: 3b81a450a4d09b320d3872e3fa215abaa607a42a [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
Tim Peters58e0a8c2001-05-14 22:32:33 +000039#define HAVE_SYS_UTIME_H
Guido van Rossum87d5e701996-05-28 22:50:17 +000040#define HAVE_HYPOT
41#define DONT_HAVE_SIG_ALARM
42#define DONT_HAVE_SIG_PAUSE
Guido van Rossum1bc716f1996-06-28 19:12:06 +000043#define LONG_BIT 32
Guido van Rossum950a1261996-07-30 17:38:17 +000044#define PREFIX ""
45#define EXEC_PREFIX ""
Guido van Rossum87d5e701996-05-28 22:50:17 +000046
47/* Microsoft C defines _MSC_VER */
Guido van Rossumc66ae962000-05-08 14:14:48 +000048#ifdef _MSC_VER
49
50/* MSVC defines _WINxx to differentiate the windows platform types
51
52 Note that for compatibility reasons _WIN32 is defined on Win32
53 *and* on Win64. For the same reasons, in Python, MS_WIN32 is
54 defined on Win32 *and* Win64. Win32 only code must therefore be
55 guarded as follows:
56 #if defined(MS_WIN32) && !defined(MS_WIN64)
57*/
58#ifdef _WIN64
59#define MS_WIN64
60#endif
61#ifdef _WIN32
62#define NT /* NT is obsolete - please use MS_WIN32 instead */
63#define MS_WIN32
64#endif
65#ifdef _WIN16
66#define MS_WIN16
67#endif
68#define MS_WINDOWS
69
70/* set the COMPILER */
71#ifdef MS_WIN64
72#ifdef _M_IX86
73#define COMPILER "[MSC 64 bit (Intel)]"
74#elif defined(_M_ALPHA)
75#define COMPILER "[MSC 64 bit (Alpha)]"
76#else
77#define COMPILER "[MSC 64 bit (Unknown)]"
78#endif
79#endif /* MS_WIN64 */
80
81#if defined(MS_WIN32) && !defined(MS_WIN64)
82#ifdef _M_IX86
83#define COMPILER "[MSC 32 bit (Intel)]"
84#elif defined(_M_ALPHA)
85#define COMPILER "[MSC 32 bit (Alpha)]"
86#else
87#define COMPILER "[MSC (Unknown)]"
88#endif
89#endif /* MS_WIN32 && !MS_WIN64 */
90
91#endif /* _MSC_VER */
Guido van Rossum87d5e701996-05-28 22:50:17 +000092
93#if defined(_MSC_VER) && _MSC_VER > 850
Guido van Rossum1bc716f1996-06-28 19:12:06 +000094/* Start of defines for MS_WIN32 using VC++ 2.0 and up */
Guido van Rossum950a1261996-07-30 17:38:17 +000095
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +000096/* For NT the Python core is in a DLL by default. Test the
97standard macro MS_COREDLL to find out. If you have an exception
98you must define MS_NO_COREDLL (do not test this macro) */
99#ifndef MS_NO_COREDLL
100#define MS_COREDLL /* Python core is in a DLL */
Guido van Rossum950a1261996-07-30 17:38:17 +0000101#ifndef USE_DL_EXPORT
102#define USE_DL_IMPORT
103#endif /* !USE_DL_EXPORT */
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000104#endif /* !MS_NO_COREDLL */
Guido van Rossum950a1261996-07-30 17:38:17 +0000105
Guido van Rossum52f49151998-04-11 02:31:30 +0000106#define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
Guido van Rossum87d5e701996-05-28 22:50:17 +0000107typedef int pid_t;
Guido van Rossum1bc716f1996-06-28 19:12:06 +0000108#define WORD_BIT 32
Guido van Rossum87d5e701996-05-28 22:50:17 +0000109#pragma warning(disable:4113)
110#define hypot _hypot
111#include <stdio.h>
112#define HAVE_CLOCK
113#define HAVE_STRFTIME
Guido van Rossum9b499d21998-08-12 02:10:05 +0000114#define HAVE_STRERROR
Guido van Rossum87d5e701996-05-28 22:50:17 +0000115#define NT_THREADS
116#define WITH_THREAD
117#ifndef NETSCAPE_PI
118#define USE_SOCKET
Guido van Rossum87d5e701996-05-28 22:50:17 +0000119#endif
120#ifdef USE_DL_IMPORT
121#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
122#endif
123#ifdef USE_DL_EXPORT
124#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
Guido van Rossum9df827f1998-12-10 16:50:49 +0000125#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
Guido van Rossum87d5e701996-05-28 22:50:17 +0000126#endif
Guido van Rossum950a1261996-07-30 17:38:17 +0000127
Guido van Rossum3293b071998-08-25 16:07:15 +0000128#define HAVE_LONG_LONG 1
129#define LONG_LONG __int64
Guido van Rossum950a1261996-07-30 17:38:17 +0000130#endif /* _MSC_VER && > 850 */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000131
Guido van Rossum87d5e701996-05-28 22:50:17 +0000132/* The Borland compiler defines __BORLANDC__ */
Guido van Rossumcf6c0ea1996-10-21 14:52:24 +0000133/* XXX These defines are likely incomplete, but should be easy to fix. */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000134#ifdef __BORLANDC__
135#define COMPILER "[Borland]"
Guido van Rossum87d5e701996-05-28 22:50:17 +0000136#define HAVE_CLOCK
137#define HAVE_STRFTIME
Mark Hammondc756bdb2000-08-15 22:33:59 +0000138
139#ifdef _WIN32
140
141/* tested with BCC 5.5 (__BORLANDC__ >= 0x0550)
142 */
143#define NT /* NT is obsolete - please use MS_WIN32 instead */
144#define MS_WIN32
145#define MS_WINDOWS
146
147/* For NT the Python core is in a DLL by default. Test the
148standard macro MS_COREDLL to find out. If you have an exception
149you must define MS_NO_COREDLL (do not test this macro) */
150#ifndef MS_NO_COREDLL
151#define MS_COREDLL /* Python core is in a DLL */
152#ifndef USE_DL_EXPORT
153#define USE_DL_IMPORT
154#endif /* !USE_DL_EXPORT */
155#endif /* !MS_NO_COREDLL */
156
157#define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
158typedef int pid_t;
159#define WORD_BIT 32
160#include <stdio.h>
161#define HAVE_STRERROR
162#define NT_THREADS
163#define WITH_THREAD
164#ifndef NETSCAPE_PI
165#define USE_SOCKET
166#endif
167/* BCC55 seems to understand __declspec(dllimport), it is used in its
168 own header files (winnt.h, ...) */
169#ifdef USE_DL_IMPORT
170#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
171#endif
172#ifdef USE_DL_EXPORT
173#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
174#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
175#endif
176
177#define HAVE_LONG_LONG 1
178#define LONG_LONG __int64
179
Tim Peters7f00deb2001-04-21 03:20:47 +0000180#undef HAVE_HYPOT
Tim Peters58e0a8c2001-05-14 22:32:33 +0000181#undef HAVE_SYS_UTIME_H
182#define HAVE_UTIME_H
183#define HAVE_DIRENT_H
184#define HAVE_CLOCK
Tim Peters7f00deb2001-04-21 03:20:47 +0000185
Mark Hammondc756bdb2000-08-15 22:33:59 +0000186#else /* !_WIN32 */
Guido van Rossum60427412000-11-13 17:29:30 +0000187#error "Only Win32 and later are supported"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000188#endif /* !_WIN32 */
189
Guido van Rossum87d5e701996-05-28 22:50:17 +0000190#endif /* BORLANDC */
191
Mark Hammondc756bdb2000-08-15 22:33:59 +0000192/* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
193#if defined(__GNUC__) && defined(_WIN32)
194/* XXX These defines are likely incomplete, but should be easy to fix.
195 They should be complete enough to build extension modules. */
196/* Suggested by Rene Liebscher <R.Liebscher@gmx.de> to avoid a GCC 2.91.*
197 bug that requires structure imports. More recent versions of the
198 compiler don't exhibit this bug.
199*/
200#if (__GNUC__==2) && (__GNUC_MINOR__<=91)
201#warning "Please use an up-to-date version of gcc! (>2.91 recommended)"
202#endif
203
204#define NT /* NT is obsolete - please use MS_WIN32 instead */
205#define MS_WIN32
206#define MS_WINDOWS
207
208/* For NT the Python core is in a DLL by default. Test the
209standard macro MS_COREDLL to find out. If you have an exception
210you must define MS_NO_COREDLL (do not test this macro) */
211#ifndef MS_NO_COREDLL
212#define MS_COREDLL /* Python core is in a DLL */
213#ifndef USE_DL_EXPORT
214#define USE_DL_IMPORT
215#endif /* !USE_DL_EXPORT */
216#endif /* !MS_NO_COREDLL */
217
218#define COMPILER "[gcc]"
219#define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
220#define WORD_BIT 32
221#define hypot _hypot
222#include <stdio.h>
223#define HAVE_CLOCK
224#define HAVE_STRFTIME
225#define HAVE_STRERROR
226#define NT_THREADS
227#define WITH_THREAD
228#ifndef NETSCAPE_PI
229#define USE_SOCKET
230#endif
231#ifdef USE_DL_IMPORT
232#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
233#endif
234#ifdef USE_DL_EXPORT
235#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
236#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
237#endif
238
239#define HAVE_LONG_LONG 1
240#define LONG_LONG long long
241#endif /* GNUC */
242
243/* lcc-win32 defines __LCC__ */
244
245#if defined(__LCC__)
246/* XXX These defines are likely incomplete, but should be easy to fix.
247 They should be complete enough to build extension modules. */
248
249#define NT /* NT is obsolete - please use MS_WIN32 instead */
250#define MS_WIN32
251#define MS_WINDOWS
252
253/* For NT the Python core is in a DLL by default. Test the
254standard macro MS_COREDLL to find out. If you have an exception
255you must define MS_NO_COREDLL (do not test this macro) */
256#ifndef MS_NO_COREDLL
257#define MS_COREDLL /* Python core is in a DLL */
258#ifndef USE_DL_EXPORT
259#define USE_DL_IMPORT
260#endif /* !USE_DL_EXPORT */
261#endif /* !MS_NO_COREDLL */
262
263#define COMPILER "[lcc-win32]"
264#define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
265typedef int pid_t;
266#define WORD_BIT 32
267#include <stdio.h>
268#define HAVE_CLOCK
269#define HAVE_STRFTIME
270#define HAVE_STRERROR
271#define NT_THREADS
272#define WITH_THREAD
273#ifndef NETSCAPE_PI
274#define USE_SOCKET
275#endif
276#ifdef USE_DL_IMPORT
277#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
278#endif
279#ifdef USE_DL_EXPORT
280#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
281#define DL_EXPORT(RTYPE) __declspec(dllexport) RTYPE
282#endif
283
284#define HAVE_LONG_LONG 1
285#define LONG_LONG __int64
286#endif /* LCC */
287
Guido van Rossum950a1261996-07-30 17:38:17 +0000288/* End of compilers - finish up */
289
Fredrik Lundh6947d0b2000-08-07 20:16:28 +0000290/* define some ANSI types that are not defined in earlier Win headers */
Guido van Rossum361b5832000-06-30 22:17:53 +0000291#if _MSC_VER >= 1200 /* This file only exists in VC 6.0 or higher */
Fred Drakea3f6e912000-06-29 20:44:47 +0000292#include <basetsd.h>
Guido van Rossum361b5832000-06-30 22:17:53 +0000293#endif
Fred Drakea3f6e912000-06-29 20:44:47 +0000294#if defined(MS_WINDOWS) && !defined(MS_WIN64)
295typedef long intptr_t;
Fredrik Lundh6947d0b2000-08-07 20:16:28 +0000296typedef unsigned long uintptr_t;
Fred Drakea3f6e912000-06-29 20:44:47 +0000297#endif
298
Guido van Rossumc66ae962000-05-08 14:14:48 +0000299#if defined(MS_WIN64)
Guido van Rossumda5cc822000-05-10 13:25:32 +0000300/* maintain "win32" sys.platform for backward compatibility of Python code,
301 the Win64 API should be close enough to the Win32 API to make this
302 preferable */
Fred Drakea3f6e912000-06-29 20:44:47 +0000303# define PLATFORM "win32"
304# define SIZEOF_VOID_P 8
305# define SIZEOF_TIME_T 8
306# define SIZEOF_OFF_T 4
307# define SIZEOF_FPOS_T 8
308# define SIZEOF_HKEY 8
309/* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
310 sizeof(off_t) > sizeof(long), and sizeof(LONG_LONG) >= sizeof(off_t).
311 On Win64 the second condition is not true, but if fpos_t replaces off_t
312 then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
313 should define this. */
314# define HAVE_LARGEFILE_SUPPORT
Guido van Rossumc66ae962000-05-08 14:14:48 +0000315#elif defined(MS_WIN32)
Fred Drakea3f6e912000-06-29 20:44:47 +0000316# define PLATFORM "win32"
317# ifdef _M_ALPHA
318# define SIZEOF_VOID_P 8
319# define SIZEOF_TIME_T 8
320# else
321# define SIZEOF_VOID_P 4
322# define SIZEOF_TIME_T 4
323# define SIZEOF_OFF_T 4
324# define SIZEOF_FPOS_T 8
325# define SIZEOF_HKEY 4
326# endif
Guido van Rossumc66ae962000-05-08 14:14:48 +0000327#endif
328
Guido van Rossum950a1261996-07-30 17:38:17 +0000329
Guido van Rossumf4aeb841998-02-19 20:59:23 +0000330#ifdef MS_WIN32
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000331
Greg Wardff7b5622000-08-05 00:58:14 +0000332#if !defined(USE_DL_EXPORT) && defined(_MSC_VER)
333/* So nobody using MSVC needs to specify the .lib in their Makefile any
334 more (other compilers will still need to do so, but that's taken care
335 of by the Distutils, so it's not a problem). */
Guido van Rossum446f0331998-08-07 15:32:00 +0000336#ifdef _DEBUG
Tim Peters52709e32001-04-18 21:12:25 +0000337#pragma comment(lib,"python22_d.lib")
Guido van Rossum446f0331998-08-07 15:32:00 +0000338#else
Tim Peters52709e32001-04-18 21:12:25 +0000339#pragma comment(lib,"python22.lib")
Guido van Rossum446f0331998-08-07 15:32:00 +0000340#endif
Guido van Rossum1a87be11998-08-08 18:25:43 +0000341#endif /* USE_DL_EXPORT */
Guido van Rossum446f0331998-08-07 15:32:00 +0000342
Guido van Rossumbffd6832000-01-20 22:32:56 +0000343#ifdef _DEBUG
344#define Py_DEBUG
345#endif
346
Tim Peters208efe52001-06-26 22:40:47 +0000347#define SIZEOF_SHORT 2
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000348#define SIZEOF_INT 4
349#define SIZEOF_LONG 4
Guido van Rossumb00d2521998-09-17 13:19:36 +0000350#define SIZEOF_LONG_LONG 8
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000351
Guido van Rossumf4aeb841998-02-19 20:59:23 +0000352#endif
353
Guido van Rossum87d5e701996-05-28 22:50:17 +0000354/* Fairly standard from here! */
355
356/* Define if on AIX 3.
357 System headers sometimes define this.
358 We just want to avoid a redefinition error message. */
359#ifndef _ALL_SOURCE
360/* #undef _ALL_SOURCE */
361#endif
362
363/* Define to empty if the keyword does not work. */
364/* #define const */
365
366/* Define if you have dirent.h. */
367/* #define DIRENT 1 */
368
369/* Define to the type of elements in the array set by `getgroups'.
370 Usually this is either `int' or `gid_t'. */
371/* #undef GETGROUPS_T */
372
373/* Define to `int' if <sys/types.h> doesn't define. */
374/* #undef gid_t */
375
376/* Define if your struct tm has tm_zone. */
377/* #undef HAVE_TM_ZONE */
378
379/* Define if you don't have tm_zone but do have the external array
380 tzname. */
381#define HAVE_TZNAME
382
383/* Define if on MINIX. */
384/* #undef _MINIX */
385
386/* Define to `int' if <sys/types.h> doesn't define. */
387/* #undef mode_t */
388
389/* Define if you don't have dirent.h, but have ndir.h. */
390/* #undef NDIR */
391
392/* Define to `long' if <sys/types.h> doesn't define. */
393/* #undef off_t */
394
395/* Define to `int' if <sys/types.h> doesn't define. */
396/* #undef pid_t */
397
398/* Define if the system does not provide POSIX.1 features except
399 with this defined. */
400/* #undef _POSIX_1_SOURCE */
401
402/* Define if you need to in order for stat and other things to work. */
403/* #undef _POSIX_SOURCE */
404
405/* Define as the return type of signal handlers (int or void). */
406#define RETSIGTYPE void
407
408/* Define to `unsigned' if <sys/types.h> doesn't define. */
409/* #undef size_t */
410
Guido van Rossumdb575db2000-04-24 15:37:34 +0000411/* Define to `int' if <sys/types.h> doesn't define. */
412#define socklen_t int
413
Guido van Rossum87d5e701996-05-28 22:50:17 +0000414/* Define if you have the ANSI C header files. */
415#define STDC_HEADERS 1
416
417/* Define if you don't have dirent.h, but have sys/dir.h. */
418/* #undef SYSDIR */
419
420/* Define if you don't have dirent.h, but have sys/ndir.h. */
421/* #undef SYSNDIR */
422
423/* Define if you can safely include both <sys/time.h> and <time.h>. */
424/* #undef TIME_WITH_SYS_TIME */
425
426/* Define if your <sys/time.h> declares struct tm. */
427/* #define TM_IN_SYS_TIME 1 */
428
429/* Define to `int' if <sys/types.h> doesn't define. */
430/* #undef uid_t */
431
432/* Define if the closedir function returns void instead of int. */
433/* #undef VOID_CLOSEDIR */
434
435/* Define if your <unistd.h> contains bad prototypes for exec*()
436 (as it does on SGI IRIX 4.x) */
437/* #undef BAD_EXEC_PROTOTYPES */
438
439/* Define if your compiler botches static forward declarations
440 (as it does on SCI ODT 3.0) */
441#define BAD_STATIC_FORWARD 1
442
443/* Define if getpgrp() must be called as getpgrp(0)
444 and (consequently) setpgrp() as setpgrp(0, 0). */
445/* #undef GETPGRP_HAVE_ARGS */
446
447/* Define this if your time.h defines altzone */
448/* #define HAVE_ALTZONE */
449
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000450/* Define if you have the putenv function. */
451#ifdef MS_WIN32
452/* Does this exist on Win16? */
453#define HAVE_PUTENV
454#endif
455
Guido van Rossum87d5e701996-05-28 22:50:17 +0000456/* Define if your compiler supports function prototypes */
457#define HAVE_PROTOTYPES
458
459/* Define if you can safely include both <sys/select.h> and <sys/time.h>
460 (which you can't on SCO ODT 3.0). */
461/* #undef SYS_SELECT_WITH_SYS_TIME */
462
463/* Define if you want to use SGI (IRIX 4) dynamic linking.
464 This requires the "dl" library by Jack Jansen,
465 ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
466 Don't bother on IRIX 5, it already has dynamic linking using SunOS
Guido van Rossum950a1261996-07-30 17:38:17 +0000467 style shared libraries */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000468/* #undef WITH_SGI_DL */
469
470/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
471 This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
472 Sequent Symmetry (Dynix), and Atari ST.
473 This requires the "dl-dld" library,
474 ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
475 as well as the "GNU dld" library,
476 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
477 Don't bother on SunOS 4 or 5, they already have dynamic linking using
Guido van Rossum950a1261996-07-30 17:38:17 +0000478 shared libraries */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000479/* #undef WITH_DL_DLD */
480
481/* Define if you want to compile in rudimentary thread support */
482/* #undef WITH_THREAD */
483
484/* Define if you want to use the GNU readline library */
485/* #define WITH_READLINE 1 */
486
Jeremy Hyltonc5007aa2000-06-30 05:02:53 +0000487/* Define if you want cycle garbage collection */
Guido van Rossum47674022000-06-30 20:31:50 +0000488#define WITH_CYCLE_GC 1
Jeremy Hyltonc5007aa2000-06-30 05:02:53 +0000489
Guido van Rossum87d5e701996-05-28 22:50:17 +0000490/* Define if you have clock. */
491/* #define HAVE_CLOCK */
492
Guido van Rossum9f9fa6d1999-12-20 22:57:41 +0000493/* Define when any dynamic module loading is enabled */
494#define HAVE_DYNAMIC_LOADING
495
Guido van Rossum87d5e701996-05-28 22:50:17 +0000496/* Define if you have ftime. */
497#define HAVE_FTIME
498
499/* Define if you have getpeername. */
Guido van Rossumc3397531997-05-06 15:58:18 +0000500#define HAVE_GETPEERNAME
Guido van Rossum87d5e701996-05-28 22:50:17 +0000501
502/* Define if you have getpgrp. */
503/* #undef HAVE_GETPGRP */
504
505/* Define if you have getpid. */
Guido van Rossumc3397531997-05-06 15:58:18 +0000506#define HAVE_GETPID
Guido van Rossum87d5e701996-05-28 22:50:17 +0000507
508/* Define if you have gettimeofday. */
509/* #undef HAVE_GETTIMEOFDAY */
510
511/* Define if you have getwd. */
512/* #undef HAVE_GETWD */
513
514/* Define if you have lstat. */
515/* #undef HAVE_LSTAT */
516
Guido van Rossum63096d41998-04-10 21:28:49 +0000517/* Define if you have the mktime function. */
518#define HAVE_MKTIME
519
Guido van Rossum87d5e701996-05-28 22:50:17 +0000520/* Define if you have nice. */
521/* #undef HAVE_NICE */
522
523/* Define if you have readlink. */
524/* #undef HAVE_READLINK */
525
526/* Define if you have select. */
527/* #undef HAVE_SELECT */
528
529/* Define if you have setpgid. */
530/* #undef HAVE_SETPGID */
531
532/* Define if you have setpgrp. */
533/* #undef HAVE_SETPGRP */
534
535/* Define if you have setsid. */
536/* #undef HAVE_SETSID */
537
Guido van Rossumc3397531997-05-06 15:58:18 +0000538/* Define if you have setvbuf. */
539#define HAVE_SETVBUF
540
Guido van Rossum87d5e701996-05-28 22:50:17 +0000541/* Define if you have siginterrupt. */
542/* #undef HAVE_SIGINTERRUPT */
543
544/* Define if you have symlink. */
545/* #undef HAVE_SYMLINK */
546
547/* Define if you have tcgetpgrp. */
548/* #undef HAVE_TCGETPGRP */
549
550/* Define if you have tcsetpgrp. */
551/* #undef HAVE_TCSETPGRP */
552
553/* Define if you have times. */
554/* #undef HAVE_TIMES */
555
556/* Define if you have uname. */
557/* #undef HAVE_UNAME */
558
559/* Define if you have waitpid. */
560/* #undef HAVE_WAITPID */
561
562/* Define if you have the <dlfcn.h> header file. */
563/* #undef HAVE_DLFCN_H */
564
565/* Define if you have the <fcntl.h> header file. */
566#define HAVE_FCNTL_H 1
567
568/* Define if you have the <signal.h> header file. */
569#define HAVE_SIGNAL_H 1
570
571/* Define if you have the <stdarg.h> header file. */
572#define HAVE_STDARG_H 1
573
574/* Define if you have the <stdarg.h> prototypes. */
575#define HAVE_STDARG_PROTOTYPES
576
Guido van Rossum4da55f01998-09-23 13:35:45 +0000577/* Define if you have the <stddef.h> header file. */
578#define HAVE_STDDEF_H 1
579
Guido van Rossum87d5e701996-05-28 22:50:17 +0000580/* Define if you have the <stdlib.h> header file. */
581#define HAVE_STDLIB_H 1
582
583/* Define if you have the <sys/audioio.h> header file. */
584/* #undef HAVE_SYS_AUDIOIO_H */
585
586/* Define if you have the <sys/param.h> header file. */
587/* #define HAVE_SYS_PARAM_H 1 */
588
589/* Define if you have the <sys/select.h> header file. */
590/* #define HAVE_SYS_SELECT_H 1 */
591
592/* Define if you have the <sys/time.h> header file. */
593/* #define HAVE_SYS_TIME_H 1 */
594
595/* Define if you have the <sys/times.h> header file. */
596/* #define HAVE_SYS_TIMES_H 1 */
597
598/* Define if you have the <sys/un.h> header file. */
599/* #define HAVE_SYS_UN_H 1 */
600
601/* Define if you have the <sys/utime.h> header file. */
Tim Peters58e0a8c2001-05-14 22:32:33 +0000602/* #define HAVE_SYS_UTIME_H 1 */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000603
604/* Define if you have the <sys/utsname.h> header file. */
605/* #define HAVE_SYS_UTSNAME_H 1 */
606
607/* Define if you have the <thread.h> header file. */
608/* #undef HAVE_THREAD_H */
609
610/* Define if you have the <unistd.h> header file. */
611/* #define HAVE_UNISTD_H 1 */
612
613/* Define if you have the <utime.h> header file. */
614/* #define HAVE_UTIME_H 1 */
615
616/* Define if you have the dl library (-ldl). */
617/* #undef HAVE_LIBDL */
618
619/* Define if you have the mpc library (-lmpc). */
620/* #undef HAVE_LIBMPC */
621
622/* Define if you have the nsl library (-lnsl). */
623#define HAVE_LIBNSL 1
624
625/* Define if you have the seq library (-lseq). */
626/* #undef HAVE_LIBSEQ */
627
628/* Define if you have the socket library (-lsocket). */
629#define HAVE_LIBSOCKET 1
630
631/* Define if you have the sun library (-lsun). */
632/* #undef HAVE_LIBSUN */
633
634/* Define if you have the termcap library (-ltermcap). */
635/* #undef HAVE_LIBTERMCAP */
636
637/* Define if you have the termlib library (-ltermlib). */
638/* #undef HAVE_LIBTERMLIB */
639
640/* Define if you have the thread library (-lthread). */
641/* #undef HAVE_LIBTHREAD */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000642#endif /* !Py_CONFIG_H */