blob: 1979b7e023bb70d660a38380b68a8ddf3d995efe [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
Tim Peters862f0592004-09-23 19:11:32 +0000121#include <float.h>
122#define Py_IS_NAN _isnan
123#define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X))
124
Guido van Rossumc66ae962000-05-08 14:14:48 +0000125#endif /* _MSC_VER */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000126
Mark Hammond8235ea12002-07-19 06:55:41 +0000127/* define some ANSI types that are not defined in earlier Win headers */
128#if defined(_MSC_VER) && _MSC_VER >= 1200
129/* This file only exists in VC 6.0 or higher */
130#include <basetsd.h>
Guido van Rossum87d5e701996-05-28 22:50:17 +0000131#endif
Guido van Rossum950a1261996-07-30 17:38:17 +0000132
Mark Hammond8235ea12002-07-19 06:55:41 +0000133/* ------------------------------------------------------------------------*/
Guido van Rossum87d5e701996-05-28 22:50:17 +0000134/* The Borland compiler defines __BORLANDC__ */
Guido van Rossumcf6c0ea1996-10-21 14:52:24 +0000135/* XXX These defines are likely incomplete, but should be easy to fix. */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000136#ifdef __BORLANDC__
137#define COMPILER "[Borland]"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000138
139#ifdef _WIN32
Mark Hammondc756bdb2000-08-15 22:33:59 +0000140/* tested with BCC 5.5 (__BORLANDC__ >= 0x0550)
141 */
Mark Hammondc756bdb2000-08-15 22:33:59 +0000142
Mark Hammondc756bdb2000-08-15 22:33:59 +0000143typedef int pid_t;
Mark Hammondc756bdb2000-08-15 22:33:59 +0000144/* BCC55 seems to understand __declspec(dllimport), it is used in its
Mark Hammond8235ea12002-07-19 06:55:41 +0000145 own header files (winnt.h, ...) - so we can do nothing and get the default*/
Mark Hammondc756bdb2000-08-15 22:33:59 +0000146
Tim Peters58e0a8c2001-05-14 22:32:33 +0000147#undef HAVE_SYS_UTIME_H
148#define HAVE_UTIME_H
149#define HAVE_DIRENT_H
Mark Hammond8235ea12002-07-19 06:55:41 +0000150
151/* rename a few functions for the Borland compiler */
152#include <io.h>
153#define _chsize chsize
154#define _setmode setmode
Tim Peters7f00deb2001-04-21 03:20:47 +0000155
Mark Hammondc756bdb2000-08-15 22:33:59 +0000156#else /* !_WIN32 */
Guido van Rossum60427412000-11-13 17:29:30 +0000157#error "Only Win32 and later are supported"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000158#endif /* !_WIN32 */
159
Guido van Rossum87d5e701996-05-28 22:50:17 +0000160#endif /* BORLANDC */
161
Mark Hammond8235ea12002-07-19 06:55:41 +0000162/* ------------------------------------------------------------------------*/
Mark Hammondc756bdb2000-08-15 22:33:59 +0000163/* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
164#if defined(__GNUC__) && defined(_WIN32)
Tim Petersb26f3632002-03-22 06:32:32 +0000165/* XXX These defines are likely incomplete, but should be easy to fix.
Mark Hammondc756bdb2000-08-15 22:33:59 +0000166 They should be complete enough to build extension modules. */
167/* Suggested by Rene Liebscher <R.Liebscher@gmx.de> to avoid a GCC 2.91.*
168 bug that requires structure imports. More recent versions of the
169 compiler don't exhibit this bug.
170*/
171#if (__GNUC__==2) && (__GNUC_MINOR__<=91)
172#warning "Please use an up-to-date version of gcc! (>2.91 recommended)"
173#endif
174
Mark Hammondc756bdb2000-08-15 22:33:59 +0000175#define COMPILER "[gcc]"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000176#define hypot _hypot
Martin v. Löwisb9a0f912003-03-29 10:06:18 +0000177#define PY_LONG_LONG long long
Mark Hammondc756bdb2000-08-15 22:33:59 +0000178#endif /* GNUC */
179
Mark Hammond8235ea12002-07-19 06:55:41 +0000180/* ------------------------------------------------------------------------*/
Mark Hammondc756bdb2000-08-15 22:33:59 +0000181/* lcc-win32 defines __LCC__ */
Mark Hammondc756bdb2000-08-15 22:33:59 +0000182#if defined(__LCC__)
Tim Petersb26f3632002-03-22 06:32:32 +0000183/* XXX These defines are likely incomplete, but should be easy to fix.
Mark Hammondc756bdb2000-08-15 22:33:59 +0000184 They should be complete enough to build extension modules. */
185
Mark Hammondc756bdb2000-08-15 22:33:59 +0000186#define COMPILER "[lcc-win32]"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000187typedef int pid_t;
Mark Hammond8235ea12002-07-19 06:55:41 +0000188/* __declspec() is supported here too - do nothing to get the defaults */
Mark Hammondc756bdb2000-08-15 22:33:59 +0000189
Mark Hammondc756bdb2000-08-15 22:33:59 +0000190#endif /* LCC */
191
Mark Hammond8235ea12002-07-19 06:55:41 +0000192/* ------------------------------------------------------------------------*/
Guido van Rossum950a1261996-07-30 17:38:17 +0000193/* End of compilers - finish up */
194
Mark Hammond8235ea12002-07-19 06:55:41 +0000195#ifndef NO_STDIO_H
196# include <stdio.h>
Guido van Rossum361b5832000-06-30 22:17:53 +0000197#endif
Fred Drakea3f6e912000-06-29 20:44:47 +0000198
Mark Hammond8235ea12002-07-19 06:55:41 +0000199/* 64 bit ints are usually spelt __int64 unless compiler has overridden */
200#define HAVE_LONG_LONG 1
Martin v. Löwisb9a0f912003-03-29 10:06:18 +0000201#ifndef PY_LONG_LONG
202# define PY_LONG_LONG __int64
Mark Hammond8235ea12002-07-19 06:55:41 +0000203#endif
204
Tim Peters06284332002-11-11 19:44:39 +0000205/* For Windows the Python core is in a DLL by default. Test
Mark Hammond8235ea12002-07-19 06:55:41 +0000206Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
207#if !defined(MS_NO_COREDLL) && !defined(Py_NO_ENABLE_SHARED)
208# define Py_ENABLE_SHARED 1 /* standard symbol for shared library */
209# define MS_COREDLL /* deprecated old symbol */
210#endif /* !MS_NO_COREDLL && ... */
211
212/* Deprecated USE_DL_EXPORT macro - please use Py_BUILD_CORE */
213#ifdef USE_DL_EXPORT
214# define Py_BUILD_CORE
215#endif /* USE_DL_EXPORT */
216
217/* All windows compilers that use this header support __declspec */
218#define HAVE_DECLSPEC_DLL
219
220/* For an MSVC DLL, we can nominate the .lib files used by extensions */
221#ifdef MS_COREDLL
222# ifndef Py_BUILD_CORE /* not building the core - must be an ext */
223# if defined(_MSC_VER)
Tim Peters06284332002-11-11 19:44:39 +0000224 /* So MSVC users need not specify the .lib file in
Mark Hammond8235ea12002-07-19 06:55:41 +0000225 their Makefile (other compilers are generally
226 taken care of by distutils.) */
227# ifdef _DEBUG
Mark Hammond67e55822003-07-31 02:06:22 +0000228# pragma comment(lib,"python24_d.lib")
Mark Hammond8235ea12002-07-19 06:55:41 +0000229# else
Mark Hammond67e55822003-07-31 02:06:22 +0000230# pragma comment(lib,"python24.lib")
Mark Hammond8235ea12002-07-19 06:55:41 +0000231# endif /* _DEBUG */
232# endif /* _MSC_VER */
233# endif /* Py_BUILD_CORE */
234#endif /* MS_COREDLL */
235
Guido van Rossumc66ae962000-05-08 14:14:48 +0000236#if defined(MS_WIN64)
Guido van Rossumda5cc822000-05-10 13:25:32 +0000237/* maintain "win32" sys.platform for backward compatibility of Python code,
238 the Win64 API should be close enough to the Win32 API to make this
239 preferable */
Fred Drakea3f6e912000-06-29 20:44:47 +0000240# define PLATFORM "win32"
241# define SIZEOF_VOID_P 8
242# define SIZEOF_TIME_T 8
243# define SIZEOF_OFF_T 4
244# define SIZEOF_FPOS_T 8
245# define SIZEOF_HKEY 8
246/* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
Martin v. Löwisb9a0f912003-03-29 10:06:18 +0000247 sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t).
Fred Drakea3f6e912000-06-29 20:44:47 +0000248 On Win64 the second condition is not true, but if fpos_t replaces off_t
249 then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
250 should define this. */
251# define HAVE_LARGEFILE_SUPPORT
Guido van Rossumc66ae962000-05-08 14:14:48 +0000252#elif defined(MS_WIN32)
Fred Drakea3f6e912000-06-29 20:44:47 +0000253# define PLATFORM "win32"
Tim Peters6e13a562001-09-06 00:32:15 +0000254# define HAVE_LARGEFILE_SUPPORT
Tim Peters06284332002-11-11 19:44:39 +0000255# define SIZEOF_VOID_P 4
256# define SIZEOF_TIME_T 4
257# define SIZEOF_OFF_T 4
258# define SIZEOF_FPOS_T 8
259# define SIZEOF_HKEY 4
Guido van Rossumc66ae962000-05-08 14:14:48 +0000260#endif
261
Mark Hammond8235ea12002-07-19 06:55:41 +0000262#ifdef _DEBUG
263# define Py_DEBUG
264#endif
265
Guido van Rossum950a1261996-07-30 17:38:17 +0000266
Guido van Rossumf4aeb841998-02-19 20:59:23 +0000267#ifdef MS_WIN32
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000268
Tim Peters208efe52001-06-26 22:40:47 +0000269#define SIZEOF_SHORT 2
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000270#define SIZEOF_INT 4
271#define SIZEOF_LONG 4
Guido van Rossumb00d2521998-09-17 13:19:36 +0000272#define SIZEOF_LONG_LONG 8
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000273
Raymond Hettingercbcff932004-08-03 08:52:46 +0000274/* VC 7.1 has them and VC 6.0 does not. VC 6.0 has a version number of 1200.
275 If some compiler does not provide them, modify the #if appropriately. */
Martin v. Löwis15b23a02004-10-15 04:26:18 +0000276#if defined(_MSC_VER)
277#if _MSC_VER > 1200
Martin v. Löwisfe393f42004-07-27 15:57:24 +0000278#define HAVE_UINTPTR_T 1
279#define HAVE_INTPTR_T 1
Martin v. Löwis15b23a02004-10-15 04:26:18 +0000280#endif /* _MSC_VER > 1200 */
281#endif /* _MSC_VER */
Martin v. Löwisfe393f42004-07-27 15:57:24 +0000282
Guido van Rossumf4aeb841998-02-19 20:59:23 +0000283#endif
284
Guido van Rossum87d5e701996-05-28 22:50:17 +0000285/* Fairly standard from here! */
286
287/* Define if on AIX 3.
288 System headers sometimes define this.
289 We just want to avoid a redefinition error message. */
290#ifndef _ALL_SOURCE
291/* #undef _ALL_SOURCE */
292#endif
293
294/* Define to empty if the keyword does not work. */
295/* #define const */
296
297/* Define if you have dirent.h. */
298/* #define DIRENT 1 */
299
300/* Define to the type of elements in the array set by `getgroups'.
301 Usually this is either `int' or `gid_t'. */
302/* #undef GETGROUPS_T */
303
304/* Define to `int' if <sys/types.h> doesn't define. */
305/* #undef gid_t */
306
307/* Define if your struct tm has tm_zone. */
308/* #undef HAVE_TM_ZONE */
309
310/* Define if you don't have tm_zone but do have the external array
311 tzname. */
312#define HAVE_TZNAME
313
Guido van Rossum87d5e701996-05-28 22:50:17 +0000314/* Define to `int' if <sys/types.h> doesn't define. */
315/* #undef mode_t */
316
317/* Define if you don't have dirent.h, but have ndir.h. */
318/* #undef NDIR */
319
320/* Define to `long' if <sys/types.h> doesn't define. */
321/* #undef off_t */
322
323/* Define to `int' if <sys/types.h> doesn't define. */
324/* #undef pid_t */
325
326/* Define if the system does not provide POSIX.1 features except
327 with this defined. */
328/* #undef _POSIX_1_SOURCE */
329
330/* Define if you need to in order for stat and other things to work. */
331/* #undef _POSIX_SOURCE */
332
333/* Define as the return type of signal handlers (int or void). */
334#define RETSIGTYPE void
335
336/* Define to `unsigned' if <sys/types.h> doesn't define. */
337/* #undef size_t */
338
Guido van Rossumdb575db2000-04-24 15:37:34 +0000339/* Define to `int' if <sys/types.h> doesn't define. */
Martin v. Löwis272cb402002-03-01 08:31:07 +0000340#if _MSC_VER + 0 >= 1300
341/* VC.NET typedefs socklen_t in ws2tcpip.h. */
342#else
Guido van Rossumdb575db2000-04-24 15:37:34 +0000343#define socklen_t int
Martin v. Löwis272cb402002-03-01 08:31:07 +0000344#endif
Guido van Rossumdb575db2000-04-24 15:37:34 +0000345
Guido van Rossum87d5e701996-05-28 22:50:17 +0000346/* Define if you have the ANSI C header files. */
347#define STDC_HEADERS 1
348
349/* Define if you don't have dirent.h, but have sys/dir.h. */
350/* #undef SYSDIR */
351
352/* Define if you don't have dirent.h, but have sys/ndir.h. */
353/* #undef SYSNDIR */
354
355/* Define if you can safely include both <sys/time.h> and <time.h>. */
356/* #undef TIME_WITH_SYS_TIME */
357
358/* Define if your <sys/time.h> declares struct tm. */
359/* #define TM_IN_SYS_TIME 1 */
360
361/* Define to `int' if <sys/types.h> doesn't define. */
362/* #undef uid_t */
363
364/* Define if the closedir function returns void instead of int. */
365/* #undef VOID_CLOSEDIR */
366
Guido van Rossum87d5e701996-05-28 22:50:17 +0000367/* Define if getpgrp() must be called as getpgrp(0)
368 and (consequently) setpgrp() as setpgrp(0, 0). */
369/* #undef GETPGRP_HAVE_ARGS */
370
371/* Define this if your time.h defines altzone */
372/* #define HAVE_ALTZONE */
373
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000374/* Define if you have the putenv function. */
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000375#define HAVE_PUTENV
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000376
Guido van Rossum87d5e701996-05-28 22:50:17 +0000377/* Define if your compiler supports function prototypes */
378#define HAVE_PROTOTYPES
379
380/* Define if you can safely include both <sys/select.h> and <sys/time.h>
381 (which you can't on SCO ODT 3.0). */
382/* #undef SYS_SELECT_WITH_SYS_TIME */
383
Martin v. Löwis2befa482002-06-09 13:41:37 +0000384/* Define if you want documentation strings in extension modules */
385#define WITH_DOC_STRINGS 1
386
Guido van Rossum87d5e701996-05-28 22:50:17 +0000387/* Define if you want to compile in rudimentary thread support */
388/* #undef WITH_THREAD */
389
390/* Define if you want to use the GNU readline library */
391/* #define WITH_READLINE 1 */
392
Fredrik Lundh9b14ab32001-06-26 22:59:49 +0000393/* Define if you want to have a Unicode type. */
394#define Py_USING_UNICODE
395
396/* Define as the integral type used for Unicode representation. */
397#define PY_UNICODE_TYPE unsigned short
398
399/* Define as the size of the unicode type. */
400#define Py_UNICODE_SIZE SIZEOF_SHORT
401
Fredrik Lundh793c1972001-06-27 19:49:17 +0000402/* Define if you have a useable wchar_t type defined in wchar.h; useable
403 means wchar_t must be 16-bit unsigned type. (see
404 Include/unicodeobject.h). */
405#if Py_UNICODE_SIZE == 2
406#define HAVE_USABLE_WCHAR_T
Mark Hammondc2e85bd2002-10-03 05:10:39 +0000407
408/* Define to indicate that the Python Unicode representation can be passed
409 as-is to Win32 Wide API. */
410#define Py_WIN_WIDE_FILENAMES
Fredrik Lundh793c1972001-06-27 19:49:17 +0000411#endif
412
Tim Petersb26f3632002-03-22 06:32:32 +0000413/* Use Python's own small-block memory-allocator. */
414#define WITH_PYMALLOC 1
415
Guido van Rossum87d5e701996-05-28 22:50:17 +0000416/* Define if you have clock. */
417/* #define HAVE_CLOCK */
418
Guido van Rossum9f9fa6d1999-12-20 22:57:41 +0000419/* Define when any dynamic module loading is enabled */
420#define HAVE_DYNAMIC_LOADING
421
Guido van Rossum87d5e701996-05-28 22:50:17 +0000422/* Define if you have ftime. */
423#define HAVE_FTIME
424
425/* Define if you have getpeername. */
Guido van Rossumc3397531997-05-06 15:58:18 +0000426#define HAVE_GETPEERNAME
Guido van Rossum87d5e701996-05-28 22:50:17 +0000427
428/* Define if you have getpgrp. */
429/* #undef HAVE_GETPGRP */
430
431/* Define if you have getpid. */
Guido van Rossumc3397531997-05-06 15:58:18 +0000432#define HAVE_GETPID
Guido van Rossum87d5e701996-05-28 22:50:17 +0000433
434/* Define if you have gettimeofday. */
435/* #undef HAVE_GETTIMEOFDAY */
436
437/* Define if you have getwd. */
438/* #undef HAVE_GETWD */
439
440/* Define if you have lstat. */
441/* #undef HAVE_LSTAT */
442
Guido van Rossum63096d41998-04-10 21:28:49 +0000443/* Define if you have the mktime function. */
444#define HAVE_MKTIME
445
Guido van Rossum87d5e701996-05-28 22:50:17 +0000446/* Define if you have nice. */
447/* #undef HAVE_NICE */
448
449/* Define if you have readlink. */
450/* #undef HAVE_READLINK */
451
452/* Define if you have select. */
453/* #undef HAVE_SELECT */
454
455/* Define if you have setpgid. */
456/* #undef HAVE_SETPGID */
457
458/* Define if you have setpgrp. */
459/* #undef HAVE_SETPGRP */
460
461/* Define if you have setsid. */
462/* #undef HAVE_SETSID */
463
Guido van Rossumc3397531997-05-06 15:58:18 +0000464/* Define if you have setvbuf. */
465#define HAVE_SETVBUF
466
Guido van Rossum87d5e701996-05-28 22:50:17 +0000467/* Define if you have siginterrupt. */
468/* #undef HAVE_SIGINTERRUPT */
469
470/* Define if you have symlink. */
471/* #undef HAVE_SYMLINK */
472
473/* Define if you have tcgetpgrp. */
474/* #undef HAVE_TCGETPGRP */
475
476/* Define if you have tcsetpgrp. */
477/* #undef HAVE_TCSETPGRP */
478
479/* Define if you have times. */
480/* #undef HAVE_TIMES */
481
482/* Define if you have uname. */
483/* #undef HAVE_UNAME */
484
485/* Define if you have waitpid. */
486/* #undef HAVE_WAITPID */
487
Martin v. Löwis9c36c292002-12-21 18:34:06 +0000488/* Define to 1 if you have the `wcscoll' function. */
489#define HAVE_WCSCOLL 1
490
Guido van Rossum87d5e701996-05-28 22:50:17 +0000491/* Define if you have the <dlfcn.h> header file. */
492/* #undef HAVE_DLFCN_H */
493
494/* Define if you have the <fcntl.h> header file. */
495#define HAVE_FCNTL_H 1
496
Guido van Rossum87d5e701996-05-28 22:50:17 +0000497/* Define if you have the <stdarg.h> prototypes. */
498#define HAVE_STDARG_PROTOTYPES
499
Martin v. Löwisfe393f42004-07-27 15:57:24 +0000500/* Define if you have the <stddef.h> header file. */
501#define HAVE_STDDEF_H 1
502
Guido van Rossum87d5e701996-05-28 22:50:17 +0000503/* Define if you have the <sys/audioio.h> header file. */
504/* #undef HAVE_SYS_AUDIOIO_H */
505
506/* Define if you have the <sys/param.h> header file. */
507/* #define HAVE_SYS_PARAM_H 1 */
508
509/* Define if you have the <sys/select.h> header file. */
510/* #define HAVE_SYS_SELECT_H 1 */
511
512/* Define if you have the <sys/time.h> header file. */
513/* #define HAVE_SYS_TIME_H 1 */
514
515/* Define if you have the <sys/times.h> header file. */
516/* #define HAVE_SYS_TIMES_H 1 */
517
518/* Define if you have the <sys/un.h> header file. */
519/* #define HAVE_SYS_UN_H 1 */
520
521/* Define if you have the <sys/utime.h> header file. */
Tim Peters58e0a8c2001-05-14 22:32:33 +0000522/* #define HAVE_SYS_UTIME_H 1 */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000523
524/* Define if you have the <sys/utsname.h> header file. */
525/* #define HAVE_SYS_UTSNAME_H 1 */
526
527/* Define if you have the <thread.h> header file. */
528/* #undef HAVE_THREAD_H */
529
530/* Define if you have the <unistd.h> header file. */
531/* #define HAVE_UNISTD_H 1 */
532
533/* Define if you have the <utime.h> header file. */
534/* #define HAVE_UTIME_H 1 */
535
Martin v. Löwis9c36c292002-12-21 18:34:06 +0000536/* Define if the compiler provides a wchar.h header file. */
537#define HAVE_WCHAR_H 1
538
Guido van Rossum87d5e701996-05-28 22:50:17 +0000539/* Define if you have the dl library (-ldl). */
540/* #undef HAVE_LIBDL */
541
542/* Define if you have the mpc library (-lmpc). */
543/* #undef HAVE_LIBMPC */
544
545/* Define if you have the nsl library (-lnsl). */
546#define HAVE_LIBNSL 1
547
548/* Define if you have the seq library (-lseq). */
549/* #undef HAVE_LIBSEQ */
550
551/* Define if you have the socket library (-lsocket). */
552#define HAVE_LIBSOCKET 1
553
554/* Define if you have the sun library (-lsun). */
555/* #undef HAVE_LIBSUN */
556
557/* Define if you have the termcap library (-ltermcap). */
558/* #undef HAVE_LIBTERMCAP */
559
560/* Define if you have the termlib library (-ltermlib). */
561/* #undef HAVE_LIBTERMLIB */
562
563/* Define if you have the thread library (-lthread). */
564/* #undef HAVE_LIBTHREAD */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000565#endif /* !Py_CONFIG_H */