1996-05-28 19:50:17 -03:00
|
|
|
#ifndef Py_CONFIG_H
|
|
|
|
#define Py_CONFIG_H
|
|
|
|
|
2001-07-26 18:34:59 -03:00
|
|
|
/* pyconfig.h. NOT Generated automatically by configure.
|
1996-05-28 19:50:17 -03:00
|
|
|
|
|
|
|
This is a manually maintained version used for the Watcom,
|
2003-10-20 11:01:56 -03:00
|
|
|
Borland and Microsoft Visual C++ compilers. It is a
|
1996-05-28 19:50:17 -03:00
|
|
|
standard part of the Python distribution.
|
|
|
|
|
1996-07-30 14:38:17 -03:00
|
|
|
WINDOWS DEFINES:
|
|
|
|
The code specific to Windows should be wrapped around one of
|
|
|
|
the following #defines
|
|
|
|
|
2000-05-08 11:14:48 -03:00
|
|
|
MS_WIN64 - Code specific to the MS Win64 API
|
2002-06-30 12:26:10 -03:00
|
|
|
MS_WIN32 - Code specific to the MS Win32 (and Win64) API (obsolete, this covers all supported APIs)
|
1996-07-30 14:38:17 -03:00
|
|
|
MS_WINDOWS - Code specific to Windows, but all versions.
|
2006-05-22 06:15:18 -03:00
|
|
|
MS_WINCE - Code specific to Windows CE
|
2002-07-19 03:55:41 -03:00
|
|
|
Py_ENABLE_SHARED - Code if the Python core is built as a DLL.
|
1996-07-30 14:38:17 -03:00
|
|
|
|
|
|
|
Also note that neither "_M_IX86" or "_MSC_VER" should be used for
|
|
|
|
any purpose other than "Windows Intel x86 specific" and "Microsoft
|
|
|
|
compiler specific". Therefore, these should be very rare.
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
|
2002-07-19 03:55:41 -03:00
|
|
|
NOTE: The following symbols are deprecated:
|
2007-11-30 21:03:20 -04:00
|
|
|
NT, USE_DL_EXPORT, USE_DL_IMPORT, DL_EXPORT, DL_IMPORT
|
2002-07-19 03:55:41 -03:00
|
|
|
MS_CORE_DLL.
|
2000-06-19 10:41:54 -03:00
|
|
|
|
2007-11-30 21:03:20 -04:00
|
|
|
WIN32 is still required for the locale module.
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
*/
|
|
|
|
|
2006-05-22 06:15:18 -03:00
|
|
|
#ifdef _WIN32_WCE
|
|
|
|
#define MS_WINCE
|
|
|
|
#endif
|
|
|
|
|
2007-07-29 21:45:29 -03:00
|
|
|
/* Deprecated USE_DL_EXPORT macro - please use Py_BUILD_CORE */
|
|
|
|
#ifdef USE_DL_EXPORT
|
|
|
|
# define Py_BUILD_CORE
|
|
|
|
#endif /* USE_DL_EXPORT */
|
|
|
|
|
2005-11-29 13:09:13 -04:00
|
|
|
/* Visual Studio 2005 introduces deprecation warnings for
|
|
|
|
"insecure" and POSIX functions. The insecure functions should
|
2005-11-30 16:16:17 -04:00
|
|
|
be replaced by *_s versions (according to Microsoft); the
|
2005-11-29 13:09:13 -04:00
|
|
|
POSIX functions by _* versions (which, according to Microsoft,
|
|
|
|
would be ISO C conforming). Neither renaming is feasible, so
|
|
|
|
we just silence the warnings. */
|
|
|
|
|
2006-11-21 14:20:25 -04:00
|
|
|
#ifndef _CRT_SECURE_NO_DEPRECATE
|
2005-11-29 13:09:13 -04:00
|
|
|
#define _CRT_SECURE_NO_DEPRECATE 1
|
2006-11-21 14:20:25 -04:00
|
|
|
#endif
|
|
|
|
#ifndef _CRT_NONSTDC_NO_DEPRECATE
|
2005-11-29 13:09:13 -04:00
|
|
|
#define _CRT_NONSTDC_NO_DEPRECATE 1
|
2006-11-21 14:20:25 -04:00
|
|
|
#endif
|
2005-11-29 13:09:13 -04:00
|
|
|
|
2006-05-22 06:15:18 -03:00
|
|
|
/* Windows CE does not have these */
|
|
|
|
#ifndef MS_WINCE
|
|
|
|
#define HAVE_IO_H
|
2001-05-14 19:32:33 -03:00
|
|
|
#define HAVE_SYS_UTIME_H
|
2001-07-17 17:35:59 -03:00
|
|
|
#define HAVE_TEMPNAM
|
|
|
|
#define HAVE_TMPFILE
|
|
|
|
#define HAVE_TMPNAM
|
2002-07-19 03:55:41 -03:00
|
|
|
#define HAVE_CLOCK
|
|
|
|
#define HAVE_STRERROR
|
2006-05-22 06:15:18 -03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef HAVE_IO_H
|
|
|
|
#include <io.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define HAVE_HYPOT
|
|
|
|
#define HAVE_STRFTIME
|
1996-05-28 19:50:17 -03:00
|
|
|
#define DONT_HAVE_SIG_ALARM
|
|
|
|
#define DONT_HAVE_SIG_PAUSE
|
1996-06-28 16:12:06 -03:00
|
|
|
#define LONG_BIT 32
|
2002-07-19 03:55:41 -03:00
|
|
|
#define WORD_BIT 32
|
1996-07-30 14:38:17 -03:00
|
|
|
#define PREFIX ""
|
|
|
|
#define EXEC_PREFIX ""
|
1996-05-28 19:50:17 -03:00
|
|
|
|
2002-07-19 03:55:41 -03:00
|
|
|
#define MS_WIN32 /* only support win32 and greater. */
|
|
|
|
#define MS_WINDOWS
|
|
|
|
#ifndef PYTHONPATH
|
|
|
|
# define PYTHONPATH ".\\DLLs;.\\lib;.\\lib\\plat-win;.\\lib\\lib-tk"
|
|
|
|
#endif
|
|
|
|
#define NT_THREADS
|
|
|
|
#define WITH_THREAD
|
|
|
|
#ifndef NETSCAPE_PI
|
|
|
|
#define USE_SOCKET
|
|
|
|
#endif
|
|
|
|
|
2009-01-11 05:43:55 -04:00
|
|
|
/* CE6 doesn't have strdup() but _strdup(). Assume the same for earlier versions. */
|
|
|
|
#if defined(MS_WINCE)
|
|
|
|
# include <stdlib.h>
|
|
|
|
# define strdup _strdup
|
|
|
|
#endif
|
|
|
|
|
2006-05-22 06:15:18 -03:00
|
|
|
#ifdef MS_WINCE
|
2006-06-10 09:23:46 -03:00
|
|
|
/* Python uses GetVersion() to distinguish between
|
|
|
|
* Windows NT and 9x/ME where OS Unicode support is concerned.
|
|
|
|
* Windows CE supports Unicode in the same way as NT so we
|
|
|
|
* define the missing GetVersion() accordingly.
|
|
|
|
*/
|
|
|
|
#define GetVersion() (4)
|
|
|
|
/* Windows CE does not support environment variables */
|
|
|
|
#define getenv(v) (NULL)
|
|
|
|
#define environ (NULL)
|
2006-05-22 06:15:18 -03:00
|
|
|
#endif
|
|
|
|
|
2002-07-19 03:55:41 -03:00
|
|
|
/* Compiler specific defines */
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------*/
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Microsoft C defines _MSC_VER */
|
2000-05-08 11:14:48 -03:00
|
|
|
#ifdef _MSC_VER
|
1996-05-28 19:50:17 -03:00
|
|
|
|
2002-11-11 15:44:39 -04:00
|
|
|
/* We want COMPILER to expand to a string containing _MSC_VER's *value*.
|
|
|
|
* This is horridly tricky, because the stringization operator only works
|
|
|
|
* on macro arguments, and doesn't evaluate macros passed *as* arguments.
|
|
|
|
* Attempts simpler than the following appear doomed to produce "_MSC_VER"
|
|
|
|
* literally in the string.
|
|
|
|
*/
|
|
|
|
#define _Py_PASTE_VERSION(SUFFIX) \
|
|
|
|
("[MSC v." _Py_STRINGIZE(_MSC_VER) " " SUFFIX "]")
|
|
|
|
/* e.g., this produces, after compile-time string catenation,
|
|
|
|
* ("[MSC v.1200 32 bit (Intel)]")
|
|
|
|
*
|
|
|
|
* _Py_STRINGIZE(_MSC_VER) expands to
|
|
|
|
* _Py_STRINGIZE1((_MSC_VER)) expands to
|
|
|
|
* _Py_STRINGIZE2(_MSC_VER) but as this call is the result of token-pasting
|
|
|
|
* it's scanned again for macros and so further expands to (under MSVC 6)
|
|
|
|
* _Py_STRINGIZE2(1200) which then expands to
|
|
|
|
* "1200"
|
|
|
|
*/
|
|
|
|
#define _Py_STRINGIZE(X) _Py_STRINGIZE1((X))
|
|
|
|
#define _Py_STRINGIZE1(X) _Py_STRINGIZE2 ## X
|
|
|
|
#define _Py_STRINGIZE2(X) #X
|
|
|
|
|
2000-05-08 11:14:48 -03:00
|
|
|
/* MSVC defines _WINxx to differentiate the windows platform types
|
|
|
|
|
|
|
|
Note that for compatibility reasons _WIN32 is defined on Win32
|
|
|
|
*and* on Win64. For the same reasons, in Python, MS_WIN32 is
|
|
|
|
defined on Win32 *and* Win64. Win32 only code must therefore be
|
|
|
|
guarded as follows:
|
|
|
|
#if defined(MS_WIN32) && !defined(MS_WIN64)
|
2007-05-03 17:27:03 -03:00
|
|
|
Some modules are disabled on Itanium processors, therefore we
|
|
|
|
have MS_WINI64 set for those targets, otherwise MS_WINX64
|
2000-05-08 11:14:48 -03:00
|
|
|
*/
|
|
|
|
#ifdef _WIN64
|
|
|
|
#define MS_WIN64
|
|
|
|
#endif
|
1996-07-30 14:38:17 -03:00
|
|
|
|
2000-05-08 11:14:48 -03:00
|
|
|
/* set the COMPILER */
|
|
|
|
#ifdef MS_WIN64
|
2007-05-03 17:27:03 -03:00
|
|
|
#if defined(_M_IA64)
|
2004-07-27 11:16:14 -03:00
|
|
|
#define COMPILER _Py_PASTE_VERSION("64 bit (Itanium)")
|
2007-05-03 17:27:03 -03:00
|
|
|
#define MS_WINI64
|
2007-07-27 02:08:54 -03:00
|
|
|
#elif defined(_M_X64) || defined(_M_AMD64)
|
2007-05-03 21:25:08 -03:00
|
|
|
#define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
|
2007-05-03 17:27:03 -03:00
|
|
|
#define MS_WINX64
|
2000-05-08 11:14:48 -03:00
|
|
|
#else
|
2002-11-11 15:44:39 -04:00
|
|
|
#define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")
|
2000-05-08 11:14:48 -03:00
|
|
|
#endif
|
|
|
|
#endif /* MS_WIN64 */
|
|
|
|
|
2007-05-03 17:27:03 -03:00
|
|
|
/* set the version macros for the windows headers */
|
|
|
|
#ifdef MS_WINX64
|
|
|
|
/* 64 bit only runs on XP or greater */
|
2008-02-09 15:55:22 -04:00
|
|
|
#define Py_WINVER _WIN32_WINNT_WINXP
|
|
|
|
#define Py_NTDDI NTDDI_WINXP
|
2007-05-03 17:27:03 -03:00
|
|
|
#else
|
2008-02-09 15:55:22 -04:00
|
|
|
/* Python 2.6+ requires Windows 2000 or greater */
|
2008-03-28 18:55:29 -03:00
|
|
|
#ifdef _WIN32_WINNT_WIN2K
|
2008-02-09 15:55:22 -04:00
|
|
|
#define Py_WINVER _WIN32_WINNT_WIN2K
|
2008-03-28 18:55:29 -03:00
|
|
|
#else
|
|
|
|
#define Py_WINVER 0x0500
|
|
|
|
#endif
|
2008-02-09 15:55:22 -04:00
|
|
|
#define Py_NTDDI NTDDI_WIN2KSP4
|
2007-07-27 01:52:32 -03:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* We only set these values when building Python - we don't want to force
|
|
|
|
these values on extensions, as that will affect the prototypes and
|
|
|
|
structures exposed in the Windows headers. Even when building Python, we
|
|
|
|
allow a single source file to override this - they may need access to
|
|
|
|
structures etc so it can optionally use new Windows features if it
|
|
|
|
determines at runtime they are available.
|
|
|
|
*/
|
2008-02-09 15:55:22 -04:00
|
|
|
#if defined(Py_BUILD_CORE) || defined(Py_BUILD_CORE_MODULE)
|
|
|
|
#ifndef NTDDI_VERSION
|
|
|
|
#define NTDDI_VERSION Py_NTDDI
|
|
|
|
#endif
|
2007-07-27 01:52:32 -03:00
|
|
|
#ifndef WINVER
|
|
|
|
#define WINVER Py_WINVER
|
|
|
|
#endif
|
2007-07-29 21:45:29 -03:00
|
|
|
#ifndef _WIN32_WINNT
|
|
|
|
#define _WIN32_WINNT Py_WINVER
|
2007-07-27 01:52:32 -03:00
|
|
|
#endif
|
2007-05-03 17:27:03 -03:00
|
|
|
#endif
|
|
|
|
|
2006-05-22 06:15:18 -03:00
|
|
|
/* _W64 is not defined for VC6 or eVC4 */
|
|
|
|
#ifndef _W64
|
|
|
|
#define _W64
|
|
|
|
#endif
|
|
|
|
|
2006-02-15 13:27:45 -04:00
|
|
|
/* Define like size_t, omitting the "unsigned" */
|
|
|
|
#ifdef MS_WIN64
|
|
|
|
typedef __int64 ssize_t;
|
|
|
|
#else
|
|
|
|
typedef _W64 int ssize_t;
|
|
|
|
#endif
|
|
|
|
#define HAVE_SSIZE_T 1
|
|
|
|
|
2000-05-08 11:14:48 -03:00
|
|
|
#if defined(MS_WIN32) && !defined(MS_WIN64)
|
|
|
|
#ifdef _M_IX86
|
2002-11-11 15:44:39 -04:00
|
|
|
#define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
|
2000-05-08 11:14:48 -03:00
|
|
|
#else
|
2002-11-11 15:44:39 -04:00
|
|
|
#define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")
|
2000-05-08 11:14:48 -03:00
|
|
|
#endif
|
|
|
|
#endif /* MS_WIN32 && !MS_WIN64 */
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
typedef int pid_t;
|
1996-07-30 14:38:17 -03:00
|
|
|
|
2004-09-23 16:11:32 -03:00
|
|
|
#include <float.h>
|
|
|
|
#define Py_IS_NAN _isnan
|
|
|
|
#define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X))
|
2006-05-25 12:53:30 -03:00
|
|
|
#define Py_IS_FINITE(X) _finite(X)
|
2008-04-18 20:13:07 -03:00
|
|
|
#define copysign _copysign
|
|
|
|
#define hypot _hypot
|
2004-09-23 16:11:32 -03:00
|
|
|
|
2002-07-19 03:55:41 -03:00
|
|
|
#endif /* _MSC_VER */
|
1996-05-28 19:50:17 -03:00
|
|
|
|
2002-07-19 03:55:41 -03:00
|
|
|
/* define some ANSI types that are not defined in earlier Win headers */
|
|
|
|
#if defined(_MSC_VER) && _MSC_VER >= 1200
|
|
|
|
/* This file only exists in VC 6.0 or higher */
|
|
|
|
#include <basetsd.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------------*/
|
1996-05-28 19:50:17 -03:00
|
|
|
/* The Borland compiler defines __BORLANDC__ */
|
1996-10-21 11:52:24 -03:00
|
|
|
/* XXX These defines are likely incomplete, but should be easy to fix. */
|
1996-05-28 19:50:17 -03:00
|
|
|
#ifdef __BORLANDC__
|
|
|
|
#define COMPILER "[Borland]"
|
2000-08-15 19:33:59 -03:00
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
/* tested with BCC 5.5 (__BORLANDC__ >= 0x0550)
|
|
|
|
*/
|
|
|
|
|
|
|
|
typedef int pid_t;
|
|
|
|
/* BCC55 seems to understand __declspec(dllimport), it is used in its
|
2002-07-19 03:55:41 -03:00
|
|
|
own header files (winnt.h, ...) - so we can do nothing and get the default*/
|
2000-08-15 19:33:59 -03:00
|
|
|
|
2001-05-14 19:32:33 -03:00
|
|
|
#undef HAVE_SYS_UTIME_H
|
|
|
|
#define HAVE_UTIME_H
|
|
|
|
#define HAVE_DIRENT_H
|
2002-07-19 03:55:41 -03:00
|
|
|
|
|
|
|
/* rename a few functions for the Borland compiler */
|
|
|
|
#include <io.h>
|
|
|
|
#define _chsize chsize
|
|
|
|
#define _setmode setmode
|
2001-04-21 00:20:47 -03:00
|
|
|
|
2000-08-15 19:33:59 -03:00
|
|
|
#else /* !_WIN32 */
|
2000-11-13 13:29:30 -04:00
|
|
|
#error "Only Win32 and later are supported"
|
2000-08-15 19:33:59 -03:00
|
|
|
#endif /* !_WIN32 */
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
#endif /* BORLANDC */
|
|
|
|
|
2002-07-19 03:55:41 -03:00
|
|
|
/* ------------------------------------------------------------------------*/
|
2000-08-15 19:33:59 -03:00
|
|
|
/* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
|
|
|
|
#if defined(__GNUC__) && defined(_WIN32)
|
2002-03-22 02:32:32 -04:00
|
|
|
/* XXX These defines are likely incomplete, but should be easy to fix.
|
2000-08-15 19:33:59 -03:00
|
|
|
They should be complete enough to build extension modules. */
|
|
|
|
/* Suggested by Rene Liebscher <R.Liebscher@gmx.de> to avoid a GCC 2.91.*
|
|
|
|
bug that requires structure imports. More recent versions of the
|
|
|
|
compiler don't exhibit this bug.
|
|
|
|
*/
|
|
|
|
#if (__GNUC__==2) && (__GNUC_MINOR__<=91)
|
|
|
|
#warning "Please use an up-to-date version of gcc! (>2.91 recommended)"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define COMPILER "[gcc]"
|
|
|
|
#define hypot _hypot
|
2003-03-29 06:06:18 -04:00
|
|
|
#define PY_LONG_LONG long long
|
2007-06-09 04:42:52 -03:00
|
|
|
#define PY_LLONG_MIN LLONG_MIN
|
|
|
|
#define PY_LLONG_MAX LLONG_MAX
|
|
|
|
#define PY_ULLONG_MAX ULLONG_MAX
|
2000-08-15 19:33:59 -03:00
|
|
|
#endif /* GNUC */
|
|
|
|
|
2002-07-19 03:55:41 -03:00
|
|
|
/* ------------------------------------------------------------------------*/
|
2000-08-15 19:33:59 -03:00
|
|
|
/* lcc-win32 defines __LCC__ */
|
|
|
|
#if defined(__LCC__)
|
2002-03-22 02:32:32 -04:00
|
|
|
/* XXX These defines are likely incomplete, but should be easy to fix.
|
2000-08-15 19:33:59 -03:00
|
|
|
They should be complete enough to build extension modules. */
|
|
|
|
|
|
|
|
#define COMPILER "[lcc-win32]"
|
|
|
|
typedef int pid_t;
|
2002-07-19 03:55:41 -03:00
|
|
|
/* __declspec() is supported here too - do nothing to get the defaults */
|
2000-08-15 19:33:59 -03:00
|
|
|
|
|
|
|
#endif /* LCC */
|
|
|
|
|
2002-07-19 03:55:41 -03:00
|
|
|
/* ------------------------------------------------------------------------*/
|
1996-07-30 14:38:17 -03:00
|
|
|
/* End of compilers - finish up */
|
|
|
|
|
2002-07-19 03:55:41 -03:00
|
|
|
#ifndef NO_STDIO_H
|
|
|
|
# include <stdio.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* 64 bit ints are usually spelt __int64 unless compiler has overridden */
|
|
|
|
#define HAVE_LONG_LONG 1
|
2003-03-29 06:06:18 -04:00
|
|
|
#ifndef PY_LONG_LONG
|
|
|
|
# define PY_LONG_LONG __int64
|
2007-06-14 17:46:25 -03:00
|
|
|
# define PY_LLONG_MAX _I64_MAX
|
|
|
|
# define PY_LLONG_MIN _I64_MIN
|
|
|
|
# define PY_ULLONG_MAX _UI64_MAX
|
2000-06-30 19:17:53 -03:00
|
|
|
#endif
|
2000-06-29 17:44:47 -03:00
|
|
|
|
2002-11-11 15:44:39 -04:00
|
|
|
/* For Windows the Python core is in a DLL by default. Test
|
2002-07-19 03:55:41 -03:00
|
|
|
Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
|
|
|
|
#if !defined(MS_NO_COREDLL) && !defined(Py_NO_ENABLE_SHARED)
|
|
|
|
# define Py_ENABLE_SHARED 1 /* standard symbol for shared library */
|
|
|
|
# define MS_COREDLL /* deprecated old symbol */
|
|
|
|
#endif /* !MS_NO_COREDLL && ... */
|
|
|
|
|
|
|
|
/* All windows compilers that use this header support __declspec */
|
|
|
|
#define HAVE_DECLSPEC_DLL
|
|
|
|
|
|
|
|
/* For an MSVC DLL, we can nominate the .lib files used by extensions */
|
|
|
|
#ifdef MS_COREDLL
|
|
|
|
# ifndef Py_BUILD_CORE /* not building the core - must be an ext */
|
|
|
|
# if defined(_MSC_VER)
|
2002-11-11 15:44:39 -04:00
|
|
|
/* So MSVC users need not specify the .lib file in
|
2002-07-19 03:55:41 -03:00
|
|
|
their Makefile (other compilers are generally
|
|
|
|
taken care of by distutils.) */
|
|
|
|
# ifdef _DEBUG
|
2008-10-03 07:59:55 -03:00
|
|
|
# pragma comment(lib,"python27_d.lib")
|
2002-07-19 03:55:41 -03:00
|
|
|
# else
|
2008-10-03 07:59:55 -03:00
|
|
|
# pragma comment(lib,"python27.lib")
|
2002-07-19 03:55:41 -03:00
|
|
|
# endif /* _DEBUG */
|
|
|
|
# endif /* _MSC_VER */
|
|
|
|
# endif /* Py_BUILD_CORE */
|
|
|
|
#endif /* MS_COREDLL */
|
|
|
|
|
2000-05-08 11:14:48 -03:00
|
|
|
#if defined(MS_WIN64)
|
2000-05-10 10:25:32 -03:00
|
|
|
/* maintain "win32" sys.platform for backward compatibility of Python code,
|
|
|
|
the Win64 API should be close enough to the Win32 API to make this
|
|
|
|
preferable */
|
2000-06-29 17:44:47 -03:00
|
|
|
# define PLATFORM "win32"
|
|
|
|
# define SIZEOF_VOID_P 8
|
|
|
|
# define SIZEOF_TIME_T 8
|
|
|
|
# define SIZEOF_OFF_T 4
|
|
|
|
# define SIZEOF_FPOS_T 8
|
|
|
|
# define SIZEOF_HKEY 8
|
2006-02-15 13:27:45 -04:00
|
|
|
# define SIZEOF_SIZE_T 8
|
2000-06-29 17:44:47 -03:00
|
|
|
/* configure.in defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
|
2003-03-29 06:06:18 -04:00
|
|
|
sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t).
|
2000-06-29 17:44:47 -03:00
|
|
|
On Win64 the second condition is not true, but if fpos_t replaces off_t
|
|
|
|
then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
|
|
|
|
should define this. */
|
|
|
|
# define HAVE_LARGEFILE_SUPPORT
|
2000-05-08 11:14:48 -03:00
|
|
|
#elif defined(MS_WIN32)
|
2000-06-29 17:44:47 -03:00
|
|
|
# define PLATFORM "win32"
|
2001-09-05 21:32:15 -03:00
|
|
|
# define HAVE_LARGEFILE_SUPPORT
|
2002-11-11 15:44:39 -04:00
|
|
|
# define SIZEOF_VOID_P 4
|
|
|
|
# define SIZEOF_OFF_T 4
|
|
|
|
# define SIZEOF_FPOS_T 8
|
|
|
|
# define SIZEOF_HKEY 4
|
2006-02-15 13:27:45 -04:00
|
|
|
# define SIZEOF_SIZE_T 4
|
2006-03-06 12:32:05 -04:00
|
|
|
/* MS VS2005 changes time_t to an 64-bit type on all platforms */
|
2006-03-06 12:30:25 -04:00
|
|
|
# if defined(_MSC_VER) && _MSC_VER >= 1400
|
|
|
|
# define SIZEOF_TIME_T 8
|
|
|
|
# else
|
|
|
|
# define SIZEOF_TIME_T 4
|
|
|
|
# endif
|
2000-05-08 11:14:48 -03:00
|
|
|
#endif
|
|
|
|
|
1998-08-07 12:32:00 -03:00
|
|
|
#ifdef _DEBUG
|
2002-07-19 03:55:41 -03:00
|
|
|
# define Py_DEBUG
|
1998-08-07 12:32:00 -03:00
|
|
|
#endif
|
|
|
|
|
2002-07-19 03:55:41 -03:00
|
|
|
|
|
|
|
#ifdef MS_WIN32
|
2000-01-20 18:32:56 -04:00
|
|
|
|
2001-06-26 19:40:47 -03:00
|
|
|
#define SIZEOF_SHORT 2
|
1998-05-28 23:53:29 -03:00
|
|
|
#define SIZEOF_INT 4
|
|
|
|
#define SIZEOF_LONG 4
|
1998-09-17 10:19:36 -03:00
|
|
|
#define SIZEOF_LONG_LONG 8
|
2006-05-22 08:29:41 -03:00
|
|
|
#define SIZEOF_DOUBLE 8
|
|
|
|
#define SIZEOF_FLOAT 4
|
1998-05-28 23:53:29 -03:00
|
|
|
|
2004-08-03 05:52:46 -03:00
|
|
|
/* VC 7.1 has them and VC 6.0 does not. VC 6.0 has a version number of 1200.
|
2006-05-22 06:15:18 -03:00
|
|
|
Microsoft eMbedded Visual C++ 4.0 has a version number of 1201 and doesn't
|
|
|
|
define these.
|
2004-08-03 05:52:46 -03:00
|
|
|
If some compiler does not provide them, modify the #if appropriately. */
|
2004-10-15 01:26:18 -03:00
|
|
|
#if defined(_MSC_VER)
|
2007-10-12 05:56:52 -03:00
|
|
|
#if _MSC_VER > 1300
|
2004-07-27 12:57:24 -03:00
|
|
|
#define HAVE_UINTPTR_T 1
|
|
|
|
#define HAVE_INTPTR_T 1
|
2006-05-22 06:15:18 -03:00
|
|
|
#else
|
2007-10-12 05:56:52 -03:00
|
|
|
/* VC6, VS 2002 and eVC4 don't support the C99 LL suffix for 64-bit integer literals */
|
2006-05-22 06:15:18 -03:00
|
|
|
#define Py_LL(x) x##I64
|
2006-05-22 08:29:41 -03:00
|
|
|
#endif /* _MSC_VER > 1200 */
|
2004-10-15 01:26:18 -03:00
|
|
|
#endif /* _MSC_VER */
|
2004-07-27 12:57:24 -03:00
|
|
|
|
1998-02-19 16:59:23 -04:00
|
|
|
#endif
|
|
|
|
|
2009-03-20 12:51:55 -03:00
|
|
|
/* define signed and unsigned exact-width 32-bit and 64-bit types, used in the
|
|
|
|
implementation of Python long integers. */
|
|
|
|
#ifndef PY_UINT32_T
|
|
|
|
#if SIZEOF_INT == 4
|
|
|
|
#define HAVE_UINT32_T 1
|
|
|
|
#define PY_UINT32_T unsigned int
|
|
|
|
#elif SIZEOF_LONG == 4
|
|
|
|
#define HAVE_UINT32_T 1
|
|
|
|
#define PY_UINT32_T unsigned long
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PY_UINT64_T
|
|
|
|
#if SIZEOF_LONG_LONG == 8
|
|
|
|
#define HAVE_UINT64_T 1
|
|
|
|
#define PY_UINT64_T unsigned PY_LONG_LONG
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PY_INT32_T
|
|
|
|
#if SIZEOF_INT == 4
|
|
|
|
#define HAVE_INT32_T 1
|
|
|
|
#define PY_INT32_T int
|
|
|
|
#elif SIZEOF_LONG == 4
|
|
|
|
#define HAVE_INT32_T 1
|
|
|
|
#define PY_INT32_T long
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef PY_INT64_T
|
|
|
|
#if SIZEOF_LONG_LONG == 8
|
|
|
|
#define HAVE_INT64_T 1
|
|
|
|
#define PY_INT64_T PY_LONG_LONG
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Fairly standard from here! */
|
|
|
|
|
2007-12-18 19:22:54 -04:00
|
|
|
/* Define to 1 if you have the `copysign' function. */
|
2008-04-18 20:13:07 -03:00
|
|
|
#define HAVE_COPYSIGN 1
|
2007-12-18 19:22:54 -04:00
|
|
|
|
2009-01-04 09:57:26 -04:00
|
|
|
/* Define to 1 if you have the `isinf' macro. */
|
|
|
|
#define HAVE_DECL_ISINF 1
|
2007-12-18 19:22:54 -04:00
|
|
|
|
|
|
|
/* Define to 1 if you have the `isnan' function. */
|
2009-01-04 09:57:26 -04:00
|
|
|
#define HAVE_DECL_ISNAN 1
|
2007-12-18 19:22:54 -04:00
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if on AIX 3.
|
|
|
|
System headers sometimes define this.
|
|
|
|
We just want to avoid a redefinition error message. */
|
|
|
|
#ifndef _ALL_SOURCE
|
|
|
|
/* #undef _ALL_SOURCE */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define to empty if the keyword does not work. */
|
|
|
|
/* #define const */
|
|
|
|
|
2006-06-10 09:23:46 -03:00
|
|
|
/* Define to 1 if you have the <conio.h> header file. */
|
|
|
|
#ifndef MS_WINCE
|
|
|
|
#define HAVE_CONIO_H 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <direct.h> header file. */
|
|
|
|
#ifndef MS_WINCE
|
|
|
|
#define HAVE_DIRECT_H 1
|
|
|
|
#endif
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you have dirent.h. */
|
|
|
|
/* #define DIRENT 1 */
|
|
|
|
|
|
|
|
/* Define to the type of elements in the array set by `getgroups'.
|
|
|
|
Usually this is either `int' or `gid_t'. */
|
|
|
|
/* #undef GETGROUPS_T */
|
|
|
|
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
|
|
/* #undef gid_t */
|
|
|
|
|
|
|
|
/* Define if your struct tm has tm_zone. */
|
|
|
|
/* #undef HAVE_TM_ZONE */
|
|
|
|
|
|
|
|
/* Define if you don't have tm_zone but do have the external array
|
|
|
|
tzname. */
|
|
|
|
#define HAVE_TZNAME
|
|
|
|
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
|
|
/* #undef mode_t */
|
|
|
|
|
|
|
|
/* Define if you don't have dirent.h, but have ndir.h. */
|
|
|
|
/* #undef NDIR */
|
|
|
|
|
|
|
|
/* Define to `long' if <sys/types.h> doesn't define. */
|
|
|
|
/* #undef off_t */
|
|
|
|
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
|
|
/* #undef pid_t */
|
|
|
|
|
|
|
|
/* Define if the system does not provide POSIX.1 features except
|
|
|
|
with this defined. */
|
|
|
|
/* #undef _POSIX_1_SOURCE */
|
|
|
|
|
|
|
|
/* Define if you need to in order for stat and other things to work. */
|
|
|
|
/* #undef _POSIX_SOURCE */
|
|
|
|
|
|
|
|
/* Define as the return type of signal handlers (int or void). */
|
|
|
|
#define RETSIGTYPE void
|
|
|
|
|
|
|
|
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
|
|
|
/* #undef size_t */
|
|
|
|
|
|
|
|
/* Define if you have the ANSI C header files. */
|
|
|
|
#define STDC_HEADERS 1
|
|
|
|
|
|
|
|
/* Define if you don't have dirent.h, but have sys/dir.h. */
|
|
|
|
/* #undef SYSDIR */
|
|
|
|
|
|
|
|
/* Define if you don't have dirent.h, but have sys/ndir.h. */
|
|
|
|
/* #undef SYSNDIR */
|
|
|
|
|
|
|
|
/* Define if you can safely include both <sys/time.h> and <time.h>. */
|
|
|
|
/* #undef TIME_WITH_SYS_TIME */
|
|
|
|
|
|
|
|
/* Define if your <sys/time.h> declares struct tm. */
|
|
|
|
/* #define TM_IN_SYS_TIME 1 */
|
|
|
|
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
|
|
/* #undef uid_t */
|
|
|
|
|
|
|
|
/* Define if the closedir function returns void instead of int. */
|
|
|
|
/* #undef VOID_CLOSEDIR */
|
|
|
|
|
|
|
|
/* Define if getpgrp() must be called as getpgrp(0)
|
|
|
|
and (consequently) setpgrp() as setpgrp(0, 0). */
|
|
|
|
/* #undef GETPGRP_HAVE_ARGS */
|
|
|
|
|
|
|
|
/* Define this if your time.h defines altzone */
|
|
|
|
/* #define HAVE_ALTZONE */
|
|
|
|
|
1996-08-21 21:06:59 -03:00
|
|
|
/* Define if you have the putenv function. */
|
2006-05-22 06:15:18 -03:00
|
|
|
#ifndef MS_WINCE
|
1996-08-21 21:06:59 -03:00
|
|
|
#define HAVE_PUTENV
|
2006-05-22 06:15:18 -03:00
|
|
|
#endif
|
1996-08-21 21:06:59 -03:00
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if your compiler supports function prototypes */
|
|
|
|
#define HAVE_PROTOTYPES
|
|
|
|
|
|
|
|
/* Define if you can safely include both <sys/select.h> and <sys/time.h>
|
|
|
|
(which you can't on SCO ODT 3.0). */
|
|
|
|
/* #undef SYS_SELECT_WITH_SYS_TIME */
|
|
|
|
|
2002-06-09 10:41:37 -03:00
|
|
|
/* Define if you want documentation strings in extension modules */
|
|
|
|
#define WITH_DOC_STRINGS 1
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you want to compile in rudimentary thread support */
|
|
|
|
/* #undef WITH_THREAD */
|
|
|
|
|
|
|
|
/* Define if you want to use the GNU readline library */
|
|
|
|
/* #define WITH_READLINE 1 */
|
|
|
|
|
2001-06-26 19:59:49 -03:00
|
|
|
/* Define if you want to have a Unicode type. */
|
|
|
|
#define Py_USING_UNICODE
|
|
|
|
|
|
|
|
/* Define as the size of the unicode type. */
|
2007-05-22 23:04:28 -03:00
|
|
|
/* This is enough for unicodeobject.h to do the "right thing" on Windows. */
|
|
|
|
#define Py_UNICODE_SIZE 2
|
2002-10-03 02:10:39 -03:00
|
|
|
|
2002-03-22 02:32:32 -04:00
|
|
|
/* Use Python's own small-block memory-allocator. */
|
|
|
|
#define WITH_PYMALLOC 1
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you have clock. */
|
|
|
|
/* #define HAVE_CLOCK */
|
|
|
|
|
1999-12-20 18:57:41 -04:00
|
|
|
/* Define when any dynamic module loading is enabled */
|
|
|
|
#define HAVE_DYNAMIC_LOADING
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you have ftime. */
|
2006-05-22 06:15:18 -03:00
|
|
|
#ifndef MS_WINCE
|
1996-05-28 19:50:17 -03:00
|
|
|
#define HAVE_FTIME
|
2006-05-22 06:15:18 -03:00
|
|
|
#endif
|
1996-05-28 19:50:17 -03:00
|
|
|
|
|
|
|
/* Define if you have getpeername. */
|
1997-05-06 12:58:18 -03:00
|
|
|
#define HAVE_GETPEERNAME
|
1996-05-28 19:50:17 -03:00
|
|
|
|
|
|
|
/* Define if you have getpgrp. */
|
|
|
|
/* #undef HAVE_GETPGRP */
|
|
|
|
|
|
|
|
/* Define if you have getpid. */
|
2006-05-22 06:15:18 -03:00
|
|
|
#ifndef MS_WINCE
|
1997-05-06 12:58:18 -03:00
|
|
|
#define HAVE_GETPID
|
2006-05-22 06:15:18 -03:00
|
|
|
#endif
|
1996-05-28 19:50:17 -03:00
|
|
|
|
|
|
|
/* Define if you have gettimeofday. */
|
|
|
|
/* #undef HAVE_GETTIMEOFDAY */
|
|
|
|
|
|
|
|
/* Define if you have getwd. */
|
|
|
|
/* #undef HAVE_GETWD */
|
|
|
|
|
|
|
|
/* Define if you have lstat. */
|
|
|
|
/* #undef HAVE_LSTAT */
|
|
|
|
|
1998-04-10 18:28:49 -03:00
|
|
|
/* Define if you have the mktime function. */
|
|
|
|
#define HAVE_MKTIME
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you have nice. */
|
|
|
|
/* #undef HAVE_NICE */
|
|
|
|
|
|
|
|
/* Define if you have readlink. */
|
|
|
|
/* #undef HAVE_READLINK */
|
|
|
|
|
|
|
|
/* Define if you have select. */
|
|
|
|
/* #undef HAVE_SELECT */
|
|
|
|
|
|
|
|
/* Define if you have setpgid. */
|
|
|
|
/* #undef HAVE_SETPGID */
|
|
|
|
|
|
|
|
/* Define if you have setpgrp. */
|
|
|
|
/* #undef HAVE_SETPGRP */
|
|
|
|
|
|
|
|
/* Define if you have setsid. */
|
|
|
|
/* #undef HAVE_SETSID */
|
|
|
|
|
1997-05-06 12:58:18 -03:00
|
|
|
/* Define if you have setvbuf. */
|
|
|
|
#define HAVE_SETVBUF
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you have siginterrupt. */
|
|
|
|
/* #undef HAVE_SIGINTERRUPT */
|
|
|
|
|
|
|
|
/* Define if you have symlink. */
|
|
|
|
/* #undef HAVE_SYMLINK */
|
|
|
|
|
|
|
|
/* Define if you have tcgetpgrp. */
|
|
|
|
/* #undef HAVE_TCGETPGRP */
|
|
|
|
|
|
|
|
/* Define if you have tcsetpgrp. */
|
|
|
|
/* #undef HAVE_TCSETPGRP */
|
|
|
|
|
|
|
|
/* Define if you have times. */
|
|
|
|
/* #undef HAVE_TIMES */
|
|
|
|
|
|
|
|
/* Define if you have uname. */
|
|
|
|
/* #undef HAVE_UNAME */
|
|
|
|
|
|
|
|
/* Define if you have waitpid. */
|
|
|
|
/* #undef HAVE_WAITPID */
|
|
|
|
|
2002-12-21 14:34:06 -04:00
|
|
|
/* Define to 1 if you have the `wcscoll' function. */
|
2006-05-22 06:15:18 -03:00
|
|
|
#ifndef MS_WINCE
|
2002-12-21 14:34:06 -04:00
|
|
|
#define HAVE_WCSCOLL 1
|
2006-05-22 06:15:18 -03:00
|
|
|
#endif
|
2002-12-21 14:34:06 -04:00
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you have the <dlfcn.h> header file. */
|
|
|
|
/* #undef HAVE_DLFCN_H */
|
|
|
|
|
2006-06-10 09:23:46 -03:00
|
|
|
/* Define to 1 if you have the <errno.h> header file. */
|
|
|
|
#ifndef MS_WINCE
|
|
|
|
#define HAVE_ERRNO_H 1
|
|
|
|
#endif
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you have the <fcntl.h> header file. */
|
2006-05-22 06:15:18 -03:00
|
|
|
#ifndef MS_WINCE
|
1996-05-28 19:50:17 -03:00
|
|
|
#define HAVE_FCNTL_H 1
|
2006-05-22 06:15:18 -03:00
|
|
|
#endif
|
1996-05-28 19:50:17 -03:00
|
|
|
|
2006-06-10 09:23:46 -03:00
|
|
|
/* Define to 1 if you have the <process.h> header file. */
|
|
|
|
#ifndef MS_WINCE
|
|
|
|
#define HAVE_PROCESS_H 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <signal.h> header file. */
|
|
|
|
#ifndef MS_WINCE
|
|
|
|
#define HAVE_SIGNAL_H 1
|
|
|
|
#endif
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you have the <stdarg.h> prototypes. */
|
|
|
|
#define HAVE_STDARG_PROTOTYPES
|
|
|
|
|
2004-07-27 12:57:24 -03:00
|
|
|
/* Define if you have the <stddef.h> header file. */
|
|
|
|
#define HAVE_STDDEF_H 1
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you have the <sys/audioio.h> header file. */
|
|
|
|
/* #undef HAVE_SYS_AUDIOIO_H */
|
|
|
|
|
|
|
|
/* Define if you have the <sys/param.h> header file. */
|
|
|
|
/* #define HAVE_SYS_PARAM_H 1 */
|
|
|
|
|
|
|
|
/* Define if you have the <sys/select.h> header file. */
|
|
|
|
/* #define HAVE_SYS_SELECT_H 1 */
|
|
|
|
|
2006-06-10 09:23:46 -03:00
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
|
|
#ifndef MS_WINCE
|
|
|
|
#define HAVE_SYS_STAT_H 1
|
|
|
|
#endif
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you have the <sys/time.h> header file. */
|
|
|
|
/* #define HAVE_SYS_TIME_H 1 */
|
|
|
|
|
|
|
|
/* Define if you have the <sys/times.h> header file. */
|
|
|
|
/* #define HAVE_SYS_TIMES_H 1 */
|
|
|
|
|
2006-06-10 09:23:46 -03:00
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
|
|
#ifndef MS_WINCE
|
|
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
#endif
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you have the <sys/un.h> header file. */
|
|
|
|
/* #define HAVE_SYS_UN_H 1 */
|
|
|
|
|
|
|
|
/* Define if you have the <sys/utime.h> header file. */
|
2001-05-14 19:32:33 -03:00
|
|
|
/* #define HAVE_SYS_UTIME_H 1 */
|
1996-05-28 19:50:17 -03:00
|
|
|
|
|
|
|
/* Define if you have the <sys/utsname.h> header file. */
|
|
|
|
/* #define HAVE_SYS_UTSNAME_H 1 */
|
|
|
|
|
|
|
|
/* Define if you have the <thread.h> header file. */
|
|
|
|
/* #undef HAVE_THREAD_H */
|
|
|
|
|
|
|
|
/* Define if you have the <unistd.h> header file. */
|
|
|
|
/* #define HAVE_UNISTD_H 1 */
|
|
|
|
|
|
|
|
/* Define if you have the <utime.h> header file. */
|
|
|
|
/* #define HAVE_UTIME_H 1 */
|
|
|
|
|
2002-12-21 14:34:06 -04:00
|
|
|
/* Define if the compiler provides a wchar.h header file. */
|
|
|
|
#define HAVE_WCHAR_H 1
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
/* Define if you have the dl library (-ldl). */
|
|
|
|
/* #undef HAVE_LIBDL */
|
|
|
|
|
|
|
|
/* Define if you have the mpc library (-lmpc). */
|
|
|
|
/* #undef HAVE_LIBMPC */
|
|
|
|
|
|
|
|
/* Define if you have the nsl library (-lnsl). */
|
|
|
|
#define HAVE_LIBNSL 1
|
|
|
|
|
|
|
|
/* Define if you have the seq library (-lseq). */
|
|
|
|
/* #undef HAVE_LIBSEQ */
|
|
|
|
|
|
|
|
/* Define if you have the socket library (-lsocket). */
|
|
|
|
#define HAVE_LIBSOCKET 1
|
|
|
|
|
|
|
|
/* Define if you have the sun library (-lsun). */
|
|
|
|
/* #undef HAVE_LIBSUN */
|
|
|
|
|
|
|
|
/* Define if you have the termcap library (-ltermcap). */
|
|
|
|
/* #undef HAVE_LIBTERMCAP */
|
|
|
|
|
|
|
|
/* Define if you have the termlib library (-ltermlib). */
|
|
|
|
/* #undef HAVE_LIBTERMLIB */
|
|
|
|
|
|
|
|
/* Define if you have the thread library (-lthread). */
|
|
|
|
/* #undef HAVE_LIBTHREAD */
|
2006-02-11 05:27:05 -04:00
|
|
|
|
|
|
|
/* WinSock does not use a bitmask in select, and uses
|
|
|
|
socket handles greater than FD_SETSIZE */
|
|
|
|
#define Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE
|
|
|
|
|
1996-05-28 19:50:17 -03:00
|
|
|
#endif /* !Py_CONFIG_H */
|