blob: 0e7912eb9473d4fe393cc1db12836170f70f4c30 [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,
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
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>
31#define HAVE_LIMITS_H
Tim Peters58e0a8c2001-05-14 22:32:33 +000032#define HAVE_SYS_UTIME_H
Guido van Rossum87d5e701996-05-28 22:50:17 +000033#define HAVE_HYPOT
Fred Drake832181e2001-07-17 20:35:59 +000034#define HAVE_TEMPNAM
35#define HAVE_TMPFILE
36#define HAVE_TMPNAM
Mark Hammond8235ea12002-07-19 06:55:41 +000037#define HAVE_CLOCK
38#define HAVE_STRFTIME
39#define HAVE_STRERROR
Guido van Rossum87d5e701996-05-28 22:50:17 +000040#define DONT_HAVE_SIG_ALARM
41#define DONT_HAVE_SIG_PAUSE
Guido van Rossum1bc716f1996-06-28 19:12:06 +000042#define LONG_BIT 32
Mark Hammond8235ea12002-07-19 06:55:41 +000043#define WORD_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
Mark Hammond8235ea12002-07-19 06:55:41 +000047#define MS_WIN32 /* only support win32 and greater. */
48#define MS_WINDOWS
49#ifndef PYTHONPATH
50# define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
51#endif
52#define NT_THREADS
53#define WITH_THREAD
54#ifndef NETSCAPE_PI
55#define USE_SOCKET
56#endif
57
58/* Compiler specific defines */
59
60/* ------------------------------------------------------------------------*/
Guido van Rossum87d5e701996-05-28 22:50:17 +000061/* Microsoft C defines _MSC_VER */
Guido van Rossumc66ae962000-05-08 14:14:48 +000062#ifdef _MSC_VER
63
Tim Peters06284332002-11-11 19:44:39 +000064/* We want COMPILER to expand to a string containing _MSC_VER's *value*.
65 * This is horridly tricky, because the stringization operator only works
66 * on macro arguments, and doesn't evaluate macros passed *as* arguments.
67 * Attempts simpler than the following appear doomed to produce "_MSC_VER"
68 * literally in the string.
69 */
70#define _Py_PASTE_VERSION(SUFFIX) \
71 ("[MSC v." _Py_STRINGIZE(_MSC_VER) " " SUFFIX "]")
72/* e.g., this produces, after compile-time string catenation,
73 * ("[MSC v.1200 32 bit (Intel)]")
74 *
75 * _Py_STRINGIZE(_MSC_VER) expands to
76 * _Py_STRINGIZE1((_MSC_VER)) expands to
77 * _Py_STRINGIZE2(_MSC_VER) but as this call is the result of token-pasting
78 * it's scanned again for macros and so further expands to (under MSVC 6)
79 * _Py_STRINGIZE2(1200) which then expands to
80 * "1200"
81 */
82#define _Py_STRINGIZE(X) _Py_STRINGIZE1((X))
83#define _Py_STRINGIZE1(X) _Py_STRINGIZE2 ## X
84#define _Py_STRINGIZE2(X) #X
85
Guido van Rossumc66ae962000-05-08 14:14:48 +000086/* MSVC defines _WINxx to differentiate the windows platform types
87
88 Note that for compatibility reasons _WIN32 is defined on Win32
89 *and* on Win64. For the same reasons, in Python, MS_WIN32 is
90 defined on Win32 *and* Win64. Win32 only code must therefore be
91 guarded as follows:
92 #if defined(MS_WIN32) && !defined(MS_WIN64)
93*/
94#ifdef _WIN64
95#define MS_WIN64
96#endif
Guido van Rossumc66ae962000-05-08 14:14:48 +000097
98/* set the COMPILER */
99#ifdef MS_WIN64
100#ifdef _M_IX86
Tim Petersc7ff90b2002-11-11 20:21:06 +0000101#define COMPILER _Py_PASTE_VERSION("64 bit (Intel)")
Guido van Rossumc66ae962000-05-08 14:14:48 +0000102#else
Tim Peters06284332002-11-11 19:44:39 +0000103#define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")
Guido van Rossumc66ae962000-05-08 14:14:48 +0000104#endif
105#endif /* MS_WIN64 */
106
107#if defined(MS_WIN32) && !defined(MS_WIN64)
108#ifdef _M_IX86
Tim Peters06284332002-11-11 19:44:39 +0000109#define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
Guido van Rossumc66ae962000-05-08 14:14:48 +0000110#else
Tim Peters06284332002-11-11 19:44:39 +0000111#define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")
Guido van Rossumc66ae962000-05-08 14:14:48 +0000112#endif
113#endif /* MS_WIN32 && !MS_WIN64 */
114
Mark Hammond8235ea12002-07-19 06:55:41 +0000115typedef int pid_t;
116#define hypot _hypot
117
Guido van Rossumc66ae962000-05-08 14:14:48 +0000118#endif /* _MSC_VER */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000119
Mark Hammond8235ea12002-07-19 06:55:41 +0000120/* define some ANSI types that are not defined in earlier Win headers */
121#if defined(_MSC_VER) && _MSC_VER >= 1200
122/* This file only exists in VC 6.0 or higher */
123#include <basetsd.h>
Guido van Rossum87d5e701996-05-28 22:50:17 +0000124#endif
Guido van Rossum950a1261996-07-30 17:38:17 +0000125
Mark Hammond8235ea12002-07-19 06:55:41 +0000126/* ------------------------------------------------------------------------*/
Guido van Rossum87d5e701996-05-28 22:50:17 +0000127/* The Borland compiler defines __BORLANDC__ */
Guido van Rossumcf6c0ea1996-10-21 14:52:24 +0000128/* XXX These defines are likely incomplete, but should be easy to fix. */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000129#ifdef __BORLANDC__
130#define COMPILER "[Borland]"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000131
132#ifdef _WIN32
Mark Hammondc756bdb2000-08-15 22:33:59 +0000133/* tested with BCC 5.5 (__BORLANDC__ >= 0x0550)
134 */
Mark Hammondc756bdb2000-08-15 22:33:59 +0000135
Mark Hammondc756bdb2000-08-15 22:33:59 +0000136typedef int pid_t;
Mark Hammondc756bdb2000-08-15 22:33:59 +0000137/* BCC55 seems to understand __declspec(dllimport), it is used in its
Mark Hammond8235ea12002-07-19 06:55:41 +0000138 own header files (winnt.h, ...) - so we can do nothing and get the default*/
Mark Hammondc756bdb2000-08-15 22:33:59 +0000139
Tim Peters58e0a8c2001-05-14 22:32:33 +0000140#undef HAVE_SYS_UTIME_H
141#define HAVE_UTIME_H
142#define HAVE_DIRENT_H
Mark Hammond8235ea12002-07-19 06:55:41 +0000143
144/* rename a few functions for the Borland compiler */
145#include <io.h>
146#define _chsize chsize
147#define _setmode setmode
Tim Peters7f00deb2001-04-21 03:20:47 +0000148
Mark Hammondc756bdb2000-08-15 22:33:59 +0000149#else /* !_WIN32 */
Guido van Rossum60427412000-11-13 17:29:30 +0000150#error "Only Win32 and later are supported"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000151#endif /* !_WIN32 */
152
Guido van Rossum87d5e701996-05-28 22:50:17 +0000153#endif /* BORLANDC */
154
Mark Hammond8235ea12002-07-19 06:55:41 +0000155/* ------------------------------------------------------------------------*/
Mark Hammondc756bdb2000-08-15 22:33:59 +0000156/* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
157#if defined(__GNUC__) && defined(_WIN32)
Tim Petersb26f3632002-03-22 06:32:32 +0000158/* XXX These defines are likely incomplete, but should be easy to fix.
Mark Hammondc756bdb2000-08-15 22:33:59 +0000159 They should be complete enough to build extension modules. */
160/* Suggested by Rene Liebscher <R.Liebscher@gmx.de> to avoid a GCC 2.91.*
161 bug that requires structure imports. More recent versions of the
162 compiler don't exhibit this bug.
163*/
164#if (__GNUC__==2) && (__GNUC_MINOR__<=91)
165#warning "Please use an up-to-date version of gcc! (>2.91 recommended)"
166#endif
167
Mark Hammondc756bdb2000-08-15 22:33:59 +0000168#define COMPILER "[gcc]"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000169#define hypot _hypot
Tim Petersb26f3632002-03-22 06:32:32 +0000170#define LONG_LONG long long
Mark Hammondc756bdb2000-08-15 22:33:59 +0000171#endif /* GNUC */
172
Mark Hammond8235ea12002-07-19 06:55:41 +0000173/* ------------------------------------------------------------------------*/
Mark Hammondc756bdb2000-08-15 22:33:59 +0000174/* lcc-win32 defines __LCC__ */
Mark Hammondc756bdb2000-08-15 22:33:59 +0000175#if defined(__LCC__)
Tim Petersb26f3632002-03-22 06:32:32 +0000176/* XXX These defines are likely incomplete, but should be easy to fix.
Mark Hammondc756bdb2000-08-15 22:33:59 +0000177 They should be complete enough to build extension modules. */
178
Mark Hammondc756bdb2000-08-15 22:33:59 +0000179#define COMPILER "[lcc-win32]"
Mark Hammondc756bdb2000-08-15 22:33:59 +0000180typedef int pid_t;
Mark Hammond8235ea12002-07-19 06:55:41 +0000181/* __declspec() is supported here too - do nothing to get the defaults */
Mark Hammondc756bdb2000-08-15 22:33:59 +0000182
Mark Hammondc756bdb2000-08-15 22:33:59 +0000183#endif /* LCC */
184
Mark Hammond8235ea12002-07-19 06:55:41 +0000185/* ------------------------------------------------------------------------*/
Guido van Rossum950a1261996-07-30 17:38:17 +0000186/* End of compilers - finish up */
187
Mark Hammond8235ea12002-07-19 06:55:41 +0000188#ifndef NO_STDIO_H
189# include <stdio.h>
Guido van Rossum361b5832000-06-30 22:17:53 +0000190#endif
Fred Drakea3f6e912000-06-29 20:44:47 +0000191
Mark Hammond8235ea12002-07-19 06:55:41 +0000192/* 64 bit ints are usually spelt __int64 unless compiler has overridden */
193#define HAVE_LONG_LONG 1
194#ifndef LONG_LONG
195# define LONG_LONG __int64
196#endif
197
Tim Peters06284332002-11-11 19:44:39 +0000198/* For Windows the Python core is in a DLL by default. Test
Mark Hammond8235ea12002-07-19 06:55:41 +0000199Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
200#if !defined(MS_NO_COREDLL) && !defined(Py_NO_ENABLE_SHARED)
201# define Py_ENABLE_SHARED 1 /* standard symbol for shared library */
202# define MS_COREDLL /* deprecated old symbol */
203#endif /* !MS_NO_COREDLL && ... */
204
205/* Deprecated USE_DL_EXPORT macro - please use Py_BUILD_CORE */
206#ifdef USE_DL_EXPORT
207# define Py_BUILD_CORE
208#endif /* USE_DL_EXPORT */
209
210/* All windows compilers that use this header support __declspec */
211#define HAVE_DECLSPEC_DLL
212
213/* For an MSVC DLL, we can nominate the .lib files used by extensions */
214#ifdef MS_COREDLL
215# ifndef Py_BUILD_CORE /* not building the core - must be an ext */
216# if defined(_MSC_VER)
Tim Peters06284332002-11-11 19:44:39 +0000217 /* So MSVC users need not specify the .lib file in
Mark Hammond8235ea12002-07-19 06:55:41 +0000218 their Makefile (other compilers are generally
219 taken care of by distutils.) */
220# ifdef _DEBUG
221# pragma comment(lib,"python23_d.lib")
222# else
223# pragma comment(lib,"python23.lib")
224# endif /* _DEBUG */
225# endif /* _MSC_VER */
226# endif /* Py_BUILD_CORE */
227#endif /* MS_COREDLL */
228
Guido van Rossumc66ae962000-05-08 14:14:48 +0000229#if defined(MS_WIN64)
Guido van Rossumda5cc822000-05-10 13:25:32 +0000230/* maintain "win32" sys.platform for backward compatibility of Python code,
231 the Win64 API should be close enough to the Win32 API to make this
232 preferable */
Fred Drakea3f6e912000-06-29 20:44:47 +0000233# define PLATFORM "win32"
234# define SIZEOF_VOID_P 8
235# define SIZEOF_TIME_T 8
236# define SIZEOF_OFF_T 4
237# define SIZEOF_FPOS_T 8
238# define SIZEOF_HKEY 8
239/* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
240 sizeof(off_t) > sizeof(long), and sizeof(LONG_LONG) >= sizeof(off_t).
241 On Win64 the second condition is not true, but if fpos_t replaces off_t
242 then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
243 should define this. */
244# define HAVE_LARGEFILE_SUPPORT
Guido van Rossumc66ae962000-05-08 14:14:48 +0000245#elif defined(MS_WIN32)
Fred Drakea3f6e912000-06-29 20:44:47 +0000246# define PLATFORM "win32"
Tim Peters6e13a562001-09-06 00:32:15 +0000247# define HAVE_LARGEFILE_SUPPORT
Tim Peters06284332002-11-11 19:44:39 +0000248# define SIZEOF_VOID_P 4
249# define SIZEOF_TIME_T 4
250# define SIZEOF_OFF_T 4
251# define SIZEOF_FPOS_T 8
252# define SIZEOF_HKEY 4
Guido van Rossumc66ae962000-05-08 14:14:48 +0000253#endif
254
Mark Hammond8235ea12002-07-19 06:55:41 +0000255#ifdef _DEBUG
256# define Py_DEBUG
257#endif
258
Guido van Rossum950a1261996-07-30 17:38:17 +0000259
Guido van Rossumf4aeb841998-02-19 20:59:23 +0000260#ifdef MS_WIN32
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000261
Tim Peters208efe52001-06-26 22:40:47 +0000262#define SIZEOF_SHORT 2
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000263#define SIZEOF_INT 4
264#define SIZEOF_LONG 4
Guido van Rossumb00d2521998-09-17 13:19:36 +0000265#define SIZEOF_LONG_LONG 8
Guido van Rossumd3ab1011998-05-29 02:53:29 +0000266
Guido van Rossumf4aeb841998-02-19 20:59:23 +0000267#endif
268
Guido van Rossum87d5e701996-05-28 22:50:17 +0000269/* Fairly standard from here! */
270
271/* Define if on AIX 3.
272 System headers sometimes define this.
273 We just want to avoid a redefinition error message. */
274#ifndef _ALL_SOURCE
275/* #undef _ALL_SOURCE */
276#endif
277
278/* Define to empty if the keyword does not work. */
279/* #define const */
280
281/* Define if you have dirent.h. */
282/* #define DIRENT 1 */
283
284/* Define to the type of elements in the array set by `getgroups'.
285 Usually this is either `int' or `gid_t'. */
286/* #undef GETGROUPS_T */
287
288/* Define to `int' if <sys/types.h> doesn't define. */
289/* #undef gid_t */
290
291/* Define if your struct tm has tm_zone. */
292/* #undef HAVE_TM_ZONE */
293
294/* Define if you don't have tm_zone but do have the external array
295 tzname. */
296#define HAVE_TZNAME
297
298/* Define if on MINIX. */
299/* #undef _MINIX */
300
301/* Define to `int' if <sys/types.h> doesn't define. */
302/* #undef mode_t */
303
304/* Define if you don't have dirent.h, but have ndir.h. */
305/* #undef NDIR */
306
307/* Define to `long' if <sys/types.h> doesn't define. */
308/* #undef off_t */
309
310/* Define to `int' if <sys/types.h> doesn't define. */
311/* #undef pid_t */
312
313/* Define if the system does not provide POSIX.1 features except
314 with this defined. */
315/* #undef _POSIX_1_SOURCE */
316
317/* Define if you need to in order for stat and other things to work. */
318/* #undef _POSIX_SOURCE */
319
320/* Define as the return type of signal handlers (int or void). */
321#define RETSIGTYPE void
322
323/* Define to `unsigned' if <sys/types.h> doesn't define. */
324/* #undef size_t */
325
Guido van Rossumdb575db2000-04-24 15:37:34 +0000326/* Define to `int' if <sys/types.h> doesn't define. */
Martin v. Löwis272cb402002-03-01 08:31:07 +0000327#if _MSC_VER + 0 >= 1300
328/* VC.NET typedefs socklen_t in ws2tcpip.h. */
329#else
Guido van Rossumdb575db2000-04-24 15:37:34 +0000330#define socklen_t int
Martin v. Löwis272cb402002-03-01 08:31:07 +0000331#endif
Guido van Rossumdb575db2000-04-24 15:37:34 +0000332
Guido van Rossum87d5e701996-05-28 22:50:17 +0000333/* Define if you have the ANSI C header files. */
334#define STDC_HEADERS 1
335
336/* Define if you don't have dirent.h, but have sys/dir.h. */
337/* #undef SYSDIR */
338
339/* Define if you don't have dirent.h, but have sys/ndir.h. */
340/* #undef SYSNDIR */
341
342/* Define if you can safely include both <sys/time.h> and <time.h>. */
343/* #undef TIME_WITH_SYS_TIME */
344
345/* Define if your <sys/time.h> declares struct tm. */
346/* #define TM_IN_SYS_TIME 1 */
347
348/* Define to `int' if <sys/types.h> doesn't define. */
349/* #undef uid_t */
350
351/* Define if the closedir function returns void instead of int. */
352/* #undef VOID_CLOSEDIR */
353
354/* Define if your <unistd.h> contains bad prototypes for exec*()
355 (as it does on SGI IRIX 4.x) */
356/* #undef BAD_EXEC_PROTOTYPES */
357
Guido van Rossum87d5e701996-05-28 22:50:17 +0000358/* Define if getpgrp() must be called as getpgrp(0)
359 and (consequently) setpgrp() as setpgrp(0, 0). */
360/* #undef GETPGRP_HAVE_ARGS */
361
362/* Define this if your time.h defines altzone */
363/* #define HAVE_ALTZONE */
364
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000365/* Define if you have the putenv function. */
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000366#define HAVE_PUTENV
Guido van Rossumeaf9b6c1996-08-22 00:06:59 +0000367
Guido van Rossum87d5e701996-05-28 22:50:17 +0000368/* Define if your compiler supports function prototypes */
369#define HAVE_PROTOTYPES
370
371/* Define if you can safely include both <sys/select.h> and <sys/time.h>
372 (which you can't on SCO ODT 3.0). */
373/* #undef SYS_SELECT_WITH_SYS_TIME */
374
375/* Define if you want to use SGI (IRIX 4) dynamic linking.
376 This requires the "dl" library by Jack Jansen,
377 ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z.
378 Don't bother on IRIX 5, it already has dynamic linking using SunOS
Guido van Rossum950a1261996-07-30 17:38:17 +0000379 style shared libraries */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000380/* #undef WITH_SGI_DL */
381
382/* Define if you want to emulate SGI (IRIX 4) dynamic linking.
383 This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4),
384 Sequent Symmetry (Dynix), and Atari ST.
385 This requires the "dl-dld" library,
386 ftp://ftp.cwi.nl/pub/dynload/dl-dld-1.1.tar.Z,
387 as well as the "GNU dld" library,
388 ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z.
389 Don't bother on SunOS 4 or 5, they already have dynamic linking using
Guido van Rossum950a1261996-07-30 17:38:17 +0000390 shared libraries */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000391/* #undef WITH_DL_DLD */
392
Martin v. Löwis2befa482002-06-09 13:41:37 +0000393/* Define if you want documentation strings in extension modules */
394#define WITH_DOC_STRINGS 1
395
Guido van Rossum87d5e701996-05-28 22:50:17 +0000396/* Define if you want to compile in rudimentary thread support */
397/* #undef WITH_THREAD */
398
399/* Define if you want to use the GNU readline library */
400/* #define WITH_READLINE 1 */
401
Fredrik Lundh9b14ab32001-06-26 22:59:49 +0000402/* Define if you want to have a Unicode type. */
403#define Py_USING_UNICODE
404
405/* Define as the integral type used for Unicode representation. */
406#define PY_UNICODE_TYPE unsigned short
407
408/* Define as the size of the unicode type. */
409#define Py_UNICODE_SIZE SIZEOF_SHORT
410
Fredrik Lundh793c1972001-06-27 19:49:17 +0000411/* Define if you have a useable wchar_t type defined in wchar.h; useable
412 means wchar_t must be 16-bit unsigned type. (see
413 Include/unicodeobject.h). */
414#if Py_UNICODE_SIZE == 2
415#define HAVE_USABLE_WCHAR_T
Mark Hammondc2e85bd2002-10-03 05:10:39 +0000416
417/* Define to indicate that the Python Unicode representation can be passed
418 as-is to Win32 Wide API. */
419#define Py_WIN_WIDE_FILENAMES
Fredrik Lundh793c1972001-06-27 19:49:17 +0000420#endif
421
Tim Petersb26f3632002-03-22 06:32:32 +0000422/* Use Python's own small-block memory-allocator. */
423#define WITH_PYMALLOC 1
424
Tim Peters639295f2002-04-21 07:30:30 +0000425/* Enable \n, \r, \r\n line ends on import; also the 'U' mode flag for open. */
426#define WITH_UNIVERSAL_NEWLINES 1
427
Guido van Rossum87d5e701996-05-28 22:50:17 +0000428/* Define if you have clock. */
429/* #define HAVE_CLOCK */
430
Guido van Rossum9f9fa6d1999-12-20 22:57:41 +0000431/* Define when any dynamic module loading is enabled */
432#define HAVE_DYNAMIC_LOADING
433
Guido van Rossum87d5e701996-05-28 22:50:17 +0000434/* Define if you have ftime. */
435#define HAVE_FTIME
436
437/* Define if you have getpeername. */
Guido van Rossumc3397531997-05-06 15:58:18 +0000438#define HAVE_GETPEERNAME
Guido van Rossum87d5e701996-05-28 22:50:17 +0000439
440/* Define if you have getpgrp. */
441/* #undef HAVE_GETPGRP */
442
443/* Define if you have getpid. */
Guido van Rossumc3397531997-05-06 15:58:18 +0000444#define HAVE_GETPID
Guido van Rossum87d5e701996-05-28 22:50:17 +0000445
446/* Define if you have gettimeofday. */
447/* #undef HAVE_GETTIMEOFDAY */
448
449/* Define if you have getwd. */
450/* #undef HAVE_GETWD */
451
452/* Define if you have lstat. */
453/* #undef HAVE_LSTAT */
454
Guido van Rossum63096d41998-04-10 21:28:49 +0000455/* Define if you have the mktime function. */
456#define HAVE_MKTIME
457
Guido van Rossum87d5e701996-05-28 22:50:17 +0000458/* Define if you have nice. */
459/* #undef HAVE_NICE */
460
461/* Define if you have readlink. */
462/* #undef HAVE_READLINK */
463
464/* Define if you have select. */
465/* #undef HAVE_SELECT */
466
467/* Define if you have setpgid. */
468/* #undef HAVE_SETPGID */
469
470/* Define if you have setpgrp. */
471/* #undef HAVE_SETPGRP */
472
473/* Define if you have setsid. */
474/* #undef HAVE_SETSID */
475
Guido van Rossumc3397531997-05-06 15:58:18 +0000476/* Define if you have setvbuf. */
477#define HAVE_SETVBUF
478
Guido van Rossum87d5e701996-05-28 22:50:17 +0000479/* Define if you have siginterrupt. */
480/* #undef HAVE_SIGINTERRUPT */
481
482/* Define if you have symlink. */
483/* #undef HAVE_SYMLINK */
484
485/* Define if you have tcgetpgrp. */
486/* #undef HAVE_TCGETPGRP */
487
488/* Define if you have tcsetpgrp. */
489/* #undef HAVE_TCSETPGRP */
490
491/* Define if you have times. */
492/* #undef HAVE_TIMES */
493
494/* Define if you have uname. */
495/* #undef HAVE_UNAME */
496
497/* Define if you have waitpid. */
498/* #undef HAVE_WAITPID */
499
Martin v. Löwis9c36c292002-12-21 18:34:06 +0000500/* Define to 1 if you have the `wcscoll' function. */
501#define HAVE_WCSCOLL 1
502
Guido van Rossum87d5e701996-05-28 22:50:17 +0000503/* Define if you have the <dlfcn.h> header file. */
504/* #undef HAVE_DLFCN_H */
505
506/* Define if you have the <fcntl.h> header file. */
507#define HAVE_FCNTL_H 1
508
509/* Define if you have the <signal.h> header file. */
510#define HAVE_SIGNAL_H 1
511
512/* Define if you have the <stdarg.h> header file. */
513#define HAVE_STDARG_H 1
514
515/* Define if you have the <stdarg.h> prototypes. */
516#define HAVE_STDARG_PROTOTYPES
517
Guido van Rossum4da55f01998-09-23 13:35:45 +0000518/* Define if you have the <stddef.h> header file. */
519#define HAVE_STDDEF_H 1
520
Guido van Rossum87d5e701996-05-28 22:50:17 +0000521/* Define if you have the <stdlib.h> header file. */
522#define HAVE_STDLIB_H 1
523
524/* Define if you have the <sys/audioio.h> header file. */
525/* #undef HAVE_SYS_AUDIOIO_H */
526
527/* Define if you have the <sys/param.h> header file. */
528/* #define HAVE_SYS_PARAM_H 1 */
529
530/* Define if you have the <sys/select.h> header file. */
531/* #define HAVE_SYS_SELECT_H 1 */
532
533/* Define if you have the <sys/time.h> header file. */
534/* #define HAVE_SYS_TIME_H 1 */
535
536/* Define if you have the <sys/times.h> header file. */
537/* #define HAVE_SYS_TIMES_H 1 */
538
539/* Define if you have the <sys/un.h> header file. */
540/* #define HAVE_SYS_UN_H 1 */
541
542/* Define if you have the <sys/utime.h> header file. */
Tim Peters58e0a8c2001-05-14 22:32:33 +0000543/* #define HAVE_SYS_UTIME_H 1 */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000544
545/* Define if you have the <sys/utsname.h> header file. */
546/* #define HAVE_SYS_UTSNAME_H 1 */
547
548/* Define if you have the <thread.h> header file. */
549/* #undef HAVE_THREAD_H */
550
551/* Define if you have the <unistd.h> header file. */
552/* #define HAVE_UNISTD_H 1 */
553
554/* Define if you have the <utime.h> header file. */
555/* #define HAVE_UTIME_H 1 */
556
Martin v. Löwis9c36c292002-12-21 18:34:06 +0000557/* Define if the compiler provides a wchar.h header file. */
558#define HAVE_WCHAR_H 1
559
Guido van Rossum87d5e701996-05-28 22:50:17 +0000560/* Define if you have the dl library (-ldl). */
561/* #undef HAVE_LIBDL */
562
563/* Define if you have the mpc library (-lmpc). */
564/* #undef HAVE_LIBMPC */
565
566/* Define if you have the nsl library (-lnsl). */
567#define HAVE_LIBNSL 1
568
569/* Define if you have the seq library (-lseq). */
570/* #undef HAVE_LIBSEQ */
571
572/* Define if you have the socket library (-lsocket). */
573#define HAVE_LIBSOCKET 1
574
575/* Define if you have the sun library (-lsun). */
576/* #undef HAVE_LIBSUN */
577
578/* Define if you have the termcap library (-ltermcap). */
579/* #undef HAVE_LIBTERMCAP */
580
581/* Define if you have the termlib library (-ltermlib). */
582/* #undef HAVE_LIBTERMLIB */
583
584/* Define if you have the thread library (-lthread). */
585/* #undef HAVE_LIBTHREAD */
Guido van Rossum87d5e701996-05-28 22:50:17 +0000586#endif /* !Py_CONFIG_H */