blob: 2109d22959a9e47def2bcf9c053221d0d8b3831e [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
Tim Peters76f373d2001-07-26 21:34:59 +00004/* pyconfig.h. NOT Generated automatically by configure.
Guido van Rossum87d5e701996-05-28 22:50:17 +00005
6This is a manually maintained version used for the Watcom,
Walter Dörwaldf0dfc7a2003-10-20 14:01:56 +00007Borland and Microsoft Visual C++ compilers. It is a
Guido van Rossum87d5e701996-05-28 22:50:17 +00008standard 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
Martin v. Löwis6238d2b2002-06-30 15:26:10 +000015MS_WIN32 - Code specific to the MS Win32 (and Win64) API (obsolete, this covers all supported APIs)
Guido van Rossum950a1261996-07-30 17:38:17 +000016MS_WINDOWS - Code specific to Windows, but all versions.
Mark Hammond8235ea12002-07-19 06:55:41 +000017Py_ENABLE_SHARED - Code if the Python core is built as a DLL.
Guido van Rossum950a1261996-07-30 17:38:17 +000018
19Also note that neither "_M_IX86" or "_MSC_VER" should be used for
20any purpose other than "Windows Intel x86 specific" and "Microsoft
21compiler specific". Therefore, these should be very rare.
22
Guido van Rossum87d5e701996-05-28 22:50:17 +000023
Mark Hammond8235ea12002-07-19 06:55:41 +000024NOTE: The following symbols are deprecated:
25NT, WIN32, USE_DL_EXPORT, USE_DL_IMPORT, DL_EXPORT, DL_IMPORT
26MS_CORE_DLL.
Fred Drake91c4e2b2000-06-19 13:41:54 +000027
Guido van Rossum87d5e701996-05-28 22:50:17 +000028*/
29
30#include <io.h>
Tim Peters58e0a8c2001-05-14 22:32:33 +000031#define HAVE_SYS_UTIME_H
Guido van Rossum87d5e701996-05-28 22:50:17 +000032#define HAVE_HYPOT
Fred Drake832181e2001-07-17 20:35:59 +000033#define HAVE_TEMPNAM
34#define HAVE_TMPFILE
35#define HAVE_TMPNAM
Mark Hammond8235ea12002-07-19 06:55:41 +000036#define HAVE_CLOCK
37#define HAVE_STRFTIME
38#define HAVE_STRERROR
Guido van Rossum87d5e701996-05-28 22:50:17 +000039#define DONT_HAVE_SIG_ALARM
40#define DONT_HAVE_SIG_PAUSE
Guido van Rossum1bc716f1996-06-28 19:12:06 +000041#define LONG_BIT 32
Mark Hammond8235ea12002-07-19 06:55:41 +000042#define WORD_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
Mark Hammond8235ea12002-07-19 06:55:41 +000046#define MS_WIN32 /* only support win32 and greater. */
47#define MS_WINDOWS
48#ifndef PYTHONPATH
49# define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
50#endif
51#define NT_THREADS
52#define WITH_THREAD
53#ifndef NETSCAPE_PI
54#define USE_SOCKET
55#endif
56
57/* Compiler specific defines */
58
59/* ------------------------------------------------------------------------*/
Guido van Rossum87d5e701996-05-28 22:50:17 +000060/* Microsoft C defines _MSC_VER */
Guido van Rossumc66ae962000-05-08 14:14:48 +000061#ifdef _MSC_VER
62
Tim Peters06284332002-11-11 19:44:39 +000063/* We want COMPILER to expand to a string containing _MSC_VER's *value*.
64 * This is horridly tricky, because the stringization operator only works
65 * on macro arguments, and doesn't evaluate macros passed *as* arguments.
66 * Attempts simpler than the following appear doomed to produce "_MSC_VER"
67 * literally in the string.
68 */
69#define _Py_PASTE_VERSION(SUFFIX) \
70 ("[MSC v." _Py_STRINGIZE(_MSC_VER) " " SUFFIX "]")
71/* e.g., this produces, after compile-time string catenation,
72 * ("[MSC v.1200 32 bit (Intel)]")
73 *
74 * _Py_STRINGIZE(_MSC_VER) expands to
75 * _Py_STRINGIZE1((_MSC_VER)) expands to
76 * _Py_STRINGIZE2(_MSC_VER) but as this call is the result of token-pasting
77 * it's scanned again for macros and so further expands to (under MSVC 6)
78 * _Py_STRINGIZE2(1200) which then expands to
79 * "1200"
80 */
81#define _Py_STRINGIZE(X) _Py_STRINGIZE1((X))
82#define _Py_STRINGIZE1(X) _Py_STRINGIZE2 ## X
83#define _Py_STRINGIZE2(X) #X
84
Guido van Rossumc66ae962000-05-08 14:14:48 +000085/* MSVC defines _WINxx to differentiate the windows platform types
86
87 Note that for compatibility reasons _WIN32 is defined on Win32
88 *and* on Win64. For the same reasons, in Python, MS_WIN32 is
89 defined on Win32 *and* Win64. Win32 only code must therefore be
90 guarded as follows:
91 #if defined(MS_WIN32) && !defined(MS_WIN64)
92*/
93#ifdef _WIN64
94#define MS_WIN64
95#endif
Guido van Rossumc66ae962000-05-08 14:14:48 +000096
97/* set the COMPILER */
98#ifdef MS_WIN64
99#ifdef _M_IX86
Tim Petersc7ff90b2002-11-11 20:21:06 +0000100#define COMPILER _Py_PASTE_VERSION("64 bit (Intel)")
Martin v. Löwis512efb42004-07-27 14:16:14 +0000101#elif defined(_M_IA64)
102#define COMPILER _Py_PASTE_VERSION("64 bit (Itanium)")
103#elif defined(_M_AMD64)
104#define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
Guido van Rossumc66ae962000-05-08 14:14:48 +0000105#else
Tim Peters06284332002-11-11 19:44:39 +0000106#define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")
Guido van Rossumc66ae962000-05-08 14:14:48 +0000107#endif
108#endif /* MS_WIN64 */
109
110#if defined(MS_WIN32) && !defined(MS_WIN64)
111#ifdef _M_IX86
Tim Peters06284332002-11-11 19:44:39 +0000112#define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
Guido van Rossumc66ae962000-05-08 14:14:48 +0000113#else
Tim Peters06284332002-11-11 19:44:39 +0000114#define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")
Guido van Rossumc66ae962000-05-08 14:14:48 +0000115#endif
116#endif /* MS_WIN32 && !MS_WIN64 */
117
Mark Hammond8235ea12002-07-19 06:55:41 +0000118typedef int pid_t;
119#define hypot _hypot
120
Guido van Rossumc66ae962000-05-08 14:14:48 +0000121#endif /* _MSC_VER */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000122
Mark Hammond8235ea12002-07-19 06:55:41 +0000123/* define some ANSI types that are not defined in earlier Win headers */
124#if defined(_MSC_VER) && _MSC_VER >= 1200
125/* This file only exists in VC 6.0 or higher */
126#include <basetsd.h>
Guido van Rossum87d5e701996-05-28 22:50:17 +0000127#endif
Guido van Rossum950a1261996-07-30 17:38:17 +0000128
Mark Hammond8235ea12002-07-19 06:55:41 +0000129/* ------------------------------------------------------------------------*/
Guido van Rossum87d5e701996-05-28 22:50:17 +0000130/* The Borland compiler defines __BORLANDC__ */
Guido van Rossumcf6c0ea1996-10-21 14:52:24 +0000131/* XXX These defines are likely incomplete, but should be easy to fix. */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000132#ifdef __BORLANDC__
133#define COMPILER "[Borland]"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000134
135#ifdef _WIN32
Mark Hammondc756bdb2000-08-15 22:33:59 +0000136/* tested with BCC 5.5 (__BORLANDC__ >= 0x0550)
137 */
Mark Hammondc756bdb2000-08-15 22:33:59 +0000138
Mark Hammondc756bdb2000-08-15 22:33:59 +0000139typedef int pid_t;
Mark Hammondc756bdb2000-08-15 22:33:59 +0000140/* BCC55 seems to understand __declspec(dllimport), it is used in its
Mark Hammond8235ea12002-07-19 06:55:41 +0000141 own header files (winnt.h, ...) - so we can do nothing and get the default*/
Mark Hammondc756bdb2000-08-15 22:33:59 +0000142
Tim Peters58e0a8c2001-05-14 22:32:33 +0000143#undef HAVE_SYS_UTIME_H
144#define HAVE_UTIME_H
145#define HAVE_DIRENT_H
Mark Hammond8235ea12002-07-19 06:55:41 +0000146
147/* rename a few functions for the Borland compiler */
148#include <io.h>
149#define _chsize chsize
150#define _setmode setmode
Tim Peters7f00deb2001-04-21 03:20:47 +0000151
Mark Hammondc756bdb2000-08-15 22:33:59 +0000152#else /* !_WIN32 */
Guido van Rossum60427412000-11-13 17:29:30 +0000153#error "Only Win32 and later are supported"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000154#endif /* !_WIN32 */
155
Guido van Rossum87d5e701996-05-28 22:50:17 +0000156#endif /* BORLANDC */
157
Mark Hammond8235ea12002-07-19 06:55:41 +0000158/* ------------------------------------------------------------------------*/
Mark Hammondc756bdb2000-08-15 22:33:59 +0000159/* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
160#if defined(__GNUC__) && defined(_WIN32)
Tim Petersb26f3632002-03-22 06:32:32 +0000161/* XXX These defines are likely incomplete, but should be easy to fix.
Mark Hammondc756bdb2000-08-15 22:33:59 +0000162 They should be complete enough to build extension modules. */
163/* Suggested by Rene Liebscher <R.Liebscher@gmx.de> to avoid a GCC 2.91.*
164 bug that requires structure imports. More recent versions of the
165 compiler don't exhibit this bug.
166*/
167#if (__GNUC__==2) && (__GNUC_MINOR__<=91)
168#warning "Please use an up-to-date version of gcc! (>2.91 recommended)"
169#endif
170
Mark Hammondc756bdb2000-08-15 22:33:59 +0000171#define COMPILER "[gcc]"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000172#define hypot _hypot
Martin v. Löwisb9a0f912003-03-29 10:06:18 +0000173#define PY_LONG_LONG long long
Mark Hammondc756bdb2000-08-15 22:33:59 +0000174#endif /* GNUC */
175
Mark Hammond8235ea12002-07-19 06:55:41 +0000176/* ------------------------------------------------------------------------*/
Mark Hammondc756bdb2000-08-15 22:33:59 +0000177/* lcc-win32 defines __LCC__ */
Mark Hammondc756bdb2000-08-15 22:33:59 +0000178#if defined(__LCC__)
Tim Petersb26f3632002-03-22 06:32:32 +0000179/* XXX These defines are likely incomplete, but should be easy to fix.
Mark Hammondc756bdb2000-08-15 22:33:59 +0000180 They should be complete enough to build extension modules. */
181
Mark Hammondc756bdb2000-08-15 22:33:59 +0000182#define COMPILER "[lcc-win32]"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000183typedef int pid_t;
Mark Hammond8235ea12002-07-19 06:55:41 +0000184/* __declspec() is supported here too - do nothing to get the defaults */
Mark Hammondc756bdb2000-08-15 22:33:59 +0000185
Mark Hammondc756bdb2000-08-15 22:33:59 +0000186#endif /* LCC */
187
Mark Hammond8235ea12002-07-19 06:55:41 +0000188/* ------------------------------------------------------------------------*/
Guido van Rossum950a1261996-07-30 17:38:17 +0000189/* End of compilers - finish up */
190
Mark Hammond8235ea12002-07-19 06:55:41 +0000191#ifndef NO_STDIO_H
192# include <stdio.h>
Guido van Rossum361b5832000-06-30 22:17:53 +0000193#endif
Fred Drakea3f6e912000-06-29 20:44:47 +0000194
Mark Hammond8235ea12002-07-19 06:55:41 +0000195/* 64 bit ints are usually spelt __int64 unless compiler has overridden */
196#define HAVE_LONG_LONG 1
Martin v. Löwisb9a0f912003-03-29 10:06:18 +0000197#ifndef PY_LONG_LONG
198# define PY_LONG_LONG __int64
Mark Hammond8235ea12002-07-19 06:55:41 +0000199#endif
200
Tim Peters06284332002-11-11 19:44:39 +0000201/* For Windows the Python core is in a DLL by default. Test
Mark Hammond8235ea12002-07-19 06:55:41 +0000202Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
203#if !defined(MS_NO_COREDLL) && !defined(Py_NO_ENABLE_SHARED)
204# define Py_ENABLE_SHARED 1 /* standard symbol for shared library */
205# define MS_COREDLL /* deprecated old symbol */
206#endif /* !MS_NO_COREDLL && ... */
207
208/* Deprecated USE_DL_EXPORT macro - please use Py_BUILD_CORE */
209#ifdef USE_DL_EXPORT
210# define Py_BUILD_CORE
211#endif /* USE_DL_EXPORT */
212
213/* All windows compilers that use this header support __declspec */
214#define HAVE_DECLSPEC_DLL
215
216/* For an MSVC DLL, we can nominate the .lib files used by extensions */
217#ifdef MS_COREDLL
218# ifndef Py_BUILD_CORE /* not building the core - must be an ext */
219# if defined(_MSC_VER)
Tim Peters06284332002-11-11 19:44:39 +0000220 /* So MSVC users need not specify the .lib file in
Mark Hammond8235ea12002-07-19 06:55:41 +0000221 their Makefile (other compilers are generally
222 taken care of by distutils.) */
223# ifdef _DEBUG
Mark Hammond67e55822003-07-31 02:06:22 +0000224# pragma comment(lib,"python24_d.lib")
Mark Hammond8235ea12002-07-19 06:55:41 +0000225# else
Mark Hammond67e55822003-07-31 02:06:22 +0000226# pragma comment(lib,"python24.lib")
Mark Hammond8235ea12002-07-19 06:55:41 +0000227# endif /* _DEBUG */
228# endif /* _MSC_VER */
229# endif /* Py_BUILD_CORE */
230#endif /* MS_COREDLL */
231
Guido van Rossumc66ae962000-05-08 14:14:48 +0000232#if defined(MS_WIN64)
Guido van Rossumda5cc822000-05-10 13:25:32 +0000233/* maintain "win32" sys.platform for backward compatibility of Python code,
234 the Win64 API should be close enough to the Win32 API to make this
235 preferable */
Fred Drakea3f6e912000-06-29 20:44:47 +0000236# define PLATFORM "win32"
237# define SIZEOF_VOID_P 8
238# define SIZEOF_TIME_T 8
239# define SIZEOF_OFF_T 4
240# define SIZEOF_FPOS_T 8
241# define SIZEOF_HKEY 8
242/* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
Martin v. Löwisb9a0f912003-03-29 10:06:18 +0000243 sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t).
Fred Drakea3f6e912000-06-29 20:44:47 +0000244 On Win64 the second condition is not true, but if fpos_t replaces off_t
245 then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
246 should define this. */
247# define HAVE_LARGEFILE_SUPPORT
Guido van Rossumc66ae962000-05-08 14:14:48 +0000248#elif defined(MS_WIN32)
Fred Drakea3f6e912000-06-29 20:44:47 +0000249# define PLATFORM "win32"
Tim Peters6e13a562001-09-06 00:32:15 +0000250# define HAVE_LARGEFILE_SUPPORT
Tim Peters06284332002-11-11 19:44:39 +0000251# define SIZEOF_VOID_P 4
252# define SIZEOF_TIME_T 4
253# define SIZEOF_OFF_T 4
254# define SIZEOF_FPOS_T 8
255# define SIZEOF_HKEY 4
Guido van Rossumc66ae962000-05-08 14:14:48 +0000256#endif
257
Mark Hammond8235ea12002-07-19 06:55:41 +0000258#ifdef _DEBUG
259# define Py_DEBUG
260#endif
261
Guido van Rossum950a1261996-07-30 17:38:17 +0000262
Guido van Rossumf4aeb841998-02-19 20:59:23 +0000263#ifdef MS_WIN32
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000264
Tim Peters208efe52001-06-26 22:40:47 +0000265#define SIZEOF_SHORT 2
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000266#define SIZEOF_INT 4
267#define SIZEOF_LONG 4
Guido van Rossumb00d2521998-09-17 13:19:36 +0000268#define SIZEOF_LONG_LONG 8
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000269
Martin v. Löwisfe393f42004-07-27 15:57:24 +0000270/* Atleast VC 7.1 has them. If some compiler does not provide them,
271 #ifdef appropriately .*/
272#define HAVE_UINTPTR_T 1
273#define HAVE_INTPTR_T 1
274
Guido van Rossumf4aeb841998-02-19 20:59:23 +0000275#endif
276
Guido van Rossum87d5e701996-05-28 22:50:17 +0000277/* Fairly standard from here! */
278
279/* Define if on AIX 3.
280 System headers sometimes define this.
281 We just want to avoid a redefinition error message. */
282#ifndef _ALL_SOURCE
283/* #undef _ALL_SOURCE */
284#endif
285
286/* Define to empty if the keyword does not work. */
287/* #define const */
288
289/* Define if you have dirent.h. */
290/* #define DIRENT 1 */
291
292/* Define to the type of elements in the array set by `getgroups'.
293 Usually this is either `int' or `gid_t'. */
294/* #undef GETGROUPS_T */
295
296/* Define to `int' if <sys/types.h> doesn't define. */
297/* #undef gid_t */
298
299/* Define if your struct tm has tm_zone. */
300/* #undef HAVE_TM_ZONE */
301
302/* Define if you don't have tm_zone but do have the external array
303 tzname. */
304#define HAVE_TZNAME
305
Guido van Rossum87d5e701996-05-28 22:50:17 +0000306/* Define to `int' if <sys/types.h> doesn't define. */
307/* #undef mode_t */
308
309/* Define if you don't have dirent.h, but have ndir.h. */
310/* #undef NDIR */
311
312/* Define to `long' if <sys/types.h> doesn't define. */
313/* #undef off_t */
314
315/* Define to `int' if <sys/types.h> doesn't define. */
316/* #undef pid_t */
317
318/* Define if the system does not provide POSIX.1 features except
319 with this defined. */
320/* #undef _POSIX_1_SOURCE */
321
322/* Define if you need to in order for stat and other things to work. */
323/* #undef _POSIX_SOURCE */
324
325/* Define as the return type of signal handlers (int or void). */
326#define RETSIGTYPE void
327
328/* Define to `unsigned' if <sys/types.h> doesn't define. */
329/* #undef size_t */
330
Guido van Rossumdb575db2000-04-24 15:37:34 +0000331/* Define to `int' if <sys/types.h> doesn't define. */
Martin v. Löwis272cb402002-03-01 08:31:07 +0000332#if _MSC_VER + 0 >= 1300
333/* VC.NET typedefs socklen_t in ws2tcpip.h. */
334#else
Guido van Rossumdb575db2000-04-24 15:37:34 +0000335#define socklen_t int
Martin v. Löwis272cb402002-03-01 08:31:07 +0000336#endif
Guido van Rossumdb575db2000-04-24 15:37:34 +0000337
Guido van Rossum87d5e701996-05-28 22:50:17 +0000338/* Define if you have the ANSI C header files. */
339#define STDC_HEADERS 1
340
341/* Define if you don't have dirent.h, but have sys/dir.h. */
342/* #undef SYSDIR */
343
344/* Define if you don't have dirent.h, but have sys/ndir.h. */
345/* #undef SYSNDIR */
346
347/* Define if you can safely include both <sys/time.h> and <time.h>. */
348/* #undef TIME_WITH_SYS_TIME */
349
350/* Define if your <sys/time.h> declares struct tm. */
351/* #define TM_IN_SYS_TIME 1 */
352
353/* Define to `int' if <sys/types.h> doesn't define. */
354/* #undef uid_t */
355
356/* Define if the closedir function returns void instead of int. */
357/* #undef VOID_CLOSEDIR */
358
Guido van Rossum87d5e701996-05-28 22:50:17 +0000359/* Define if getpgrp() must be called as getpgrp(0)
360 and (consequently) setpgrp() as setpgrp(0, 0). */
361/* #undef GETPGRP_HAVE_ARGS */
362
363/* Define this if your time.h defines altzone */
364/* #define HAVE_ALTZONE */
365
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000366/* Define if you have the putenv function. */
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000367#define HAVE_PUTENV
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000368
Guido van Rossum87d5e701996-05-28 22:50:17 +0000369/* Define if your compiler supports function prototypes */
370#define HAVE_PROTOTYPES
371
372/* Define if you can safely include both <sys/select.h> and <sys/time.h>
373 (which you can't on SCO ODT 3.0). */
374/* #undef SYS_SELECT_WITH_SYS_TIME */
375
Martin v. Löwis2befa482002-06-09 13:41:37 +0000376/* Define if you want documentation strings in extension modules */
377#define WITH_DOC_STRINGS 1
378
Guido van Rossum87d5e701996-05-28 22:50:17 +0000379/* Define if you want to compile in rudimentary thread support */
380/* #undef WITH_THREAD */
381
382/* Define if you want to use the GNU readline library */
383/* #define WITH_READLINE 1 */
384
Fredrik Lundh9b14ab32001-06-26 22:59:49 +0000385/* Define if you want to have a Unicode type. */
386#define Py_USING_UNICODE
387
388/* Define as the integral type used for Unicode representation. */
389#define PY_UNICODE_TYPE unsigned short
390
391/* Define as the size of the unicode type. */
392#define Py_UNICODE_SIZE SIZEOF_SHORT
393
Fredrik Lundh793c1972001-06-27 19:49:17 +0000394/* Define if you have a useable wchar_t type defined in wchar.h; useable
395 means wchar_t must be 16-bit unsigned type. (see
396 Include/unicodeobject.h). */
397#if Py_UNICODE_SIZE == 2
398#define HAVE_USABLE_WCHAR_T
Mark Hammondc2e85bd2002-10-03 05:10:39 +0000399
400/* Define to indicate that the Python Unicode representation can be passed
401 as-is to Win32 Wide API. */
402#define Py_WIN_WIDE_FILENAMES
Fredrik Lundh793c1972001-06-27 19:49:17 +0000403#endif
404
Tim Petersb26f3632002-03-22 06:32:32 +0000405/* Use Python's own small-block memory-allocator. */
406#define WITH_PYMALLOC 1
407
Guido van Rossum87d5e701996-05-28 22:50:17 +0000408/* Define if you have clock. */
409/* #define HAVE_CLOCK */
410
Guido van Rossum9f9fa6d1999-12-20 22:57:41 +0000411/* Define when any dynamic module loading is enabled */
412#define HAVE_DYNAMIC_LOADING
413
Guido van Rossum87d5e701996-05-28 22:50:17 +0000414/* Define if you have ftime. */
415#define HAVE_FTIME
416
417/* Define if you have getpeername. */
Guido van Rossumc3397531997-05-06 15:58:18 +0000418#define HAVE_GETPEERNAME
Guido van Rossum87d5e701996-05-28 22:50:17 +0000419
420/* Define if you have getpgrp. */
421/* #undef HAVE_GETPGRP */
422
423/* Define if you have getpid. */
Guido van Rossumc3397531997-05-06 15:58:18 +0000424#define HAVE_GETPID
Guido van Rossum87d5e701996-05-28 22:50:17 +0000425
426/* Define if you have gettimeofday. */
427/* #undef HAVE_GETTIMEOFDAY */
428
429/* Define if you have getwd. */
430/* #undef HAVE_GETWD */
431
432/* Define if you have lstat. */
433/* #undef HAVE_LSTAT */
434
Guido van Rossum63096d41998-04-10 21:28:49 +0000435/* Define if you have the mktime function. */
436#define HAVE_MKTIME
437
Guido van Rossum87d5e701996-05-28 22:50:17 +0000438/* Define if you have nice. */
439/* #undef HAVE_NICE */
440
441/* Define if you have readlink. */
442/* #undef HAVE_READLINK */
443
444/* Define if you have select. */
445/* #undef HAVE_SELECT */
446
447/* Define if you have setpgid. */
448/* #undef HAVE_SETPGID */
449
450/* Define if you have setpgrp. */
451/* #undef HAVE_SETPGRP */
452
453/* Define if you have setsid. */
454/* #undef HAVE_SETSID */
455
Guido van Rossumc3397531997-05-06 15:58:18 +0000456/* Define if you have setvbuf. */
457#define HAVE_SETVBUF
458
Guido van Rossum87d5e701996-05-28 22:50:17 +0000459/* Define if you have siginterrupt. */
460/* #undef HAVE_SIGINTERRUPT */
461
462/* Define if you have symlink. */
463/* #undef HAVE_SYMLINK */
464
465/* Define if you have tcgetpgrp. */
466/* #undef HAVE_TCGETPGRP */
467
468/* Define if you have tcsetpgrp. */
469/* #undef HAVE_TCSETPGRP */
470
471/* Define if you have times. */
472/* #undef HAVE_TIMES */
473
474/* Define if you have uname. */
475/* #undef HAVE_UNAME */
476
477/* Define if you have waitpid. */
478/* #undef HAVE_WAITPID */
479
Martin v. Löwis9c36c292002-12-21 18:34:06 +0000480/* Define to 1 if you have the `wcscoll' function. */
481#define HAVE_WCSCOLL 1
482
Guido van Rossum87d5e701996-05-28 22:50:17 +0000483/* Define if you have the <dlfcn.h> header file. */
484/* #undef HAVE_DLFCN_H */
485
486/* Define if you have the <fcntl.h> header file. */
487#define HAVE_FCNTL_H 1
488
Guido van Rossum87d5e701996-05-28 22:50:17 +0000489/* Define if you have the <stdarg.h> prototypes. */
490#define HAVE_STDARG_PROTOTYPES
491
Martin v. Löwisfe393f42004-07-27 15:57:24 +0000492/* Define if you have the <stddef.h> header file. */
493#define HAVE_STDDEF_H 1
494
Guido van Rossum87d5e701996-05-28 22:50:17 +0000495/* Define if you have the <sys/audioio.h> header file. */
496/* #undef HAVE_SYS_AUDIOIO_H */
497
498/* Define if you have the <sys/param.h> header file. */
499/* #define HAVE_SYS_PARAM_H 1 */
500
501/* Define if you have the <sys/select.h> header file. */
502/* #define HAVE_SYS_SELECT_H 1 */
503
504/* Define if you have the <sys/time.h> header file. */
505/* #define HAVE_SYS_TIME_H 1 */
506
507/* Define if you have the <sys/times.h> header file. */
508/* #define HAVE_SYS_TIMES_H 1 */
509
510/* Define if you have the <sys/un.h> header file. */
511/* #define HAVE_SYS_UN_H 1 */
512
513/* Define if you have the <sys/utime.h> header file. */
Tim Peters58e0a8c2001-05-14 22:32:33 +0000514/* #define HAVE_SYS_UTIME_H 1 */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000515
516/* Define if you have the <sys/utsname.h> header file. */
517/* #define HAVE_SYS_UTSNAME_H 1 */
518
519/* Define if you have the <thread.h> header file. */
520/* #undef HAVE_THREAD_H */
521
522/* Define if you have the <unistd.h> header file. */
523/* #define HAVE_UNISTD_H 1 */
524
525/* Define if you have the <utime.h> header file. */
526/* #define HAVE_UTIME_H 1 */
527
Martin v. Löwis9c36c292002-12-21 18:34:06 +0000528/* Define if the compiler provides a wchar.h header file. */
529#define HAVE_WCHAR_H 1
530
Guido van Rossum87d5e701996-05-28 22:50:17 +0000531/* Define if you have the dl library (-ldl). */
532/* #undef HAVE_LIBDL */
533
534/* Define if you have the mpc library (-lmpc). */
535/* #undef HAVE_LIBMPC */
536
537/* Define if you have the nsl library (-lnsl). */
538#define HAVE_LIBNSL 1
539
540/* Define if you have the seq library (-lseq). */
541/* #undef HAVE_LIBSEQ */
542
543/* Define if you have the socket library (-lsocket). */
544#define HAVE_LIBSOCKET 1
545
546/* Define if you have the sun library (-lsun). */
547/* #undef HAVE_LIBSUN */
548
549/* Define if you have the termcap library (-ltermcap). */
550/* #undef HAVE_LIBTERMCAP */
551
552/* Define if you have the termlib library (-ltermlib). */
553/* #undef HAVE_LIBTERMLIB */
554
555/* Define if you have the thread library (-lthread). */
556/* #undef HAVE_LIBTHREAD */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000557#endif /* !Py_CONFIG_H */