cpython: PC/pyconfig.h annotate (original) (raw)
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
1 #ifndef Py_CONFIG_H
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2 #define Py_CONFIG_H
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
4 /* pyconfig.h. NOT Generated automatically by configure.
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
6 This is a manually maintained version used for the Watcom,
651fc8d98d99Fix a bunch of typos in documentation, docstrings and comments.
Walter Dörwald walter@livinglogic.de
7 Borland and Microsoft Visual C++ compilers. It is a
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
8 standard part of the Python distribution.
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
10 WINDOWS DEFINES:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
11 The code specific to Windows should be wrapped around one of
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
12 the following #defines
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
14 MS_WIN64 - Code specific to the MS Win64 API
15 MS_WIN32 - Code specific to the MS Win32 (and Win64) API (obsolete, this covers all supported APIs)
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
16 MS_WINDOWS - Code specific to Windows, but all versions.
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
17 Py_ENABLE_SHARED - Code if the Python core is built as a DLL.
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
19 Also note that neither "_M_IX86" or "_MSC_VER" should be used for
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
20 any purpose other than "Windows Intel x86 specific" and "Microsoft
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
21 compiler specific". Therefore, these should be very rare.
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
24 NOTE: The following symbols are deprecated:
25 NT, USE_DL_EXPORT, USE_DL_IMPORT, DL_EXPORT, DL_IMPORT
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
26 MS_CORE_DLL.
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
28 WIN32 is still required for the locale module.
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
30 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
32 /* Deprecated USE_DL_EXPORT macro - please use Py_BUILD_CORE */
33 #ifdef USE_DL_EXPORT
34 # define Py_BUILD_CORE
35 #endif /* USE_DL_EXPORT */
37 /* Visual Studio 2005 introduces deprecation warnings for
38 "insecure" and POSIX functions. The insecure functions should
39 be replaced by *_s versions (according to Microsoft); the
40 POSIX functions by _* versions (which, according to Microsoft,
41 would be ISO C conforming). Neither renaming is feasible, so
42 we just silence the warnings. */
44 #ifndef _CRT_SECURE_NO_DEPRECATE
45 #define _CRT_SECURE_NO_DEPRECATE 1
46 #endif
47 #ifndef _CRT_NONSTDC_NO_DEPRECATE
48 #define _CRT_NONSTDC_NO_DEPRECATE 1
49 #endif
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
51 #define HAVE_IO_H
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
52 #define HAVE_SYS_UTIME_H
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
53 #define HAVE_TEMPNAM
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
54 #define HAVE_TMPFILE
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
55 #define HAVE_TMPNAM
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
56 #define HAVE_CLOCK
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
57 #define HAVE_STRERROR
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
59 #include <io.h>
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
61 #define HAVE_HYPOT
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
62 #define HAVE_STRFTIME
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
63 #define DONT_HAVE_SIG_ALARM
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
64 #define DONT_HAVE_SIG_PAUSE
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
65 #define LONG_BIT 32
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
66 #define WORD_BIT 32
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
68 #define MS_WIN32 /* only support win32 and greater. */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
69 #define MS_WINDOWS
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
70 #ifndef PYTHONPATH
71 # define PYTHONPATH L".\\DLLs;.\\lib"
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
72 #endif
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
73 #define NT_THREADS
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
74 #define WITH_THREAD
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
75 #ifndef NETSCAPE_PI
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
76 #define USE_SOCKET
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
77 #endif
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
80 /* Compiler specific defines */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
82 /* ------------------------------------------------------------------------*/
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
83 /* Microsoft C defines _MSC_VER */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
84 #ifdef _MSC_VER
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
86 /* We want COMPILER to expand to a string containing _MSC_VER's *value*.
87 * This is horridly tricky, because the stringization operator only works
88 * on macro arguments, and doesn't evaluate macros passed *as* arguments.
89 * Attempts simpler than the following appear doomed to produce "_MSC_VER"
90 * literally in the string.
91 */
92 #define _Py_PASTE_VERSION(SUFFIX) \
93 ("[MSC v." _Py_STRINGIZE(_MSC_VER) " " SUFFIX "]")
94 /* e.g., this produces, after compile-time string catenation,
95 * ("[MSC v.1200 32 bit (Intel)]")
96 *
97 * _Py_STRINGIZE(_MSC_VER) expands to
98 * _Py_STRINGIZE1((_MSC_VER)) expands to
99 * _Py_STRINGIZE2(_MSC_VER) but as this call is the result of token-pasting
100 * it's scanned again for macros and so further expands to (under MSVC 6)
101 * _Py_STRINGIZE2(1200) which then expands to
102 * "1200"
103 */
104 #define _Py_STRINGIZE(X) _Py_STRINGIZE1((X))
105 #define _Py_STRINGIZE1(X) _Py_STRINGIZE2 ## X
106 #define _Py_STRINGIZE2(X) #X
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
108 /* MSVC defines _WINxx to differentiate the windows platform types
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
110 Note that for compatibility reasons _WIN32 is defined on Win32
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
111 *and* on Win64. For the same reasons, in Python, MS_WIN32 is
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
112 defined on Win32 *and* Win64. Win32 only code must therefore be
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
113 guarded as follows:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
114 #if defined(MS_WIN32) && !defined(MS_WIN64)
115 Some modules are disabled on Itanium processors, therefore we
116 have MS_WINI64 set for those targets, otherwise MS_WINX64
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
117 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
118 #ifdef _WIN64
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
119 #define MS_WIN64
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
120 #endif
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
122 /* set the COMPILER */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
123 #ifdef MS_WIN64
124 #if defined(_M_IA64)
125 #define COMPILER _Py_PASTE_VERSION("64 bit (Itanium)")
126 #define MS_WINI64
127 #define PYD_PLATFORM_TAG "win_ia64"
128 #elif defined(_M_X64) || defined(_M_AMD64)
ca88db01bb51Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows
Zachary Ware zachary.ware@gmail.com
129 #if defined(__INTEL_COMPILER)
ca88db01bb51Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows
Zachary Ware zachary.ware@gmail.com
130 #define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 64 bit (amd64) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
ca88db01bb51Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows
Zachary Ware zachary.ware@gmail.com
131 #else
132 #define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
ca88db01bb51Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows
Zachary Ware zachary.ware@gmail.com
133 #endif /* __INTEL_COMPILER */
134 #define MS_WINX64
135 #define PYD_PLATFORM_TAG "win_amd64"
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
136 #else
137 #define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
138 #endif
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
139 #endif /* MS_WIN64 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
141 /* set the version macros for the windows headers */
57e2549cc9a6Issue #23451: Update pyconfig.h for Windows to require Vista headers and remove unnecessary version checks.
Steve Dower steve.dower@microsoft.com
142 /* Python 3.5+ requires Windows Vista or greater */
57e2549cc9a6Issue #23451: Update pyconfig.h for Windows to require Vista headers and remove unnecessary version checks.
Steve Dower steve.dower@microsoft.com
143 #define Py_WINVER 0x0600 /* _WIN32_WINNT_VISTA */
57e2549cc9a6Issue #23451: Update pyconfig.h for Windows to require Vista headers and remove unnecessary version checks.
Steve Dower steve.dower@microsoft.com
144 #define Py_NTDDI NTDDI_VISTA
146 /* We only set these values when building Python - we don't want to force
147 these values on extensions, as that will affect the prototypes and
148 structures exposed in the Windows headers. Even when building Python, we
149 allow a single source file to override this - they may need access to
150 structures etc so it can optionally use new Windows features if it
151 determines at runtime they are available.
152 */
6260db22ff75Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60696-60698 via svnmerge from
Christian Heimes christian@cheimes.de
153 #if defined(Py_BUILD_CORE) || defined(Py_BUILD_CORE_MODULE)
6260db22ff75Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60696-60698 via svnmerge from
Christian Heimes christian@cheimes.de
154 #ifndef NTDDI_VERSION
6260db22ff75Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60696-60698 via svnmerge from
Christian Heimes christian@cheimes.de
155 #define NTDDI_VERSION Py_NTDDI
6260db22ff75Merged revisions 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60696-60698 via svnmerge from
Christian Heimes christian@cheimes.de
156 #endif
157 #ifndef WINVER
158 #define WINVER Py_WINVER
159 #endif
160 #ifndef _WIN32_WINNT
161 #define _WIN32_WINNT Py_WINVER
162 #endif
163 #endif
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
165 /* _W64 is not defined for VC6 or eVC4 */
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
166 #ifndef _W64
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
167 #define _W64
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
168 #endif
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
170 /* Define like size_t, omitting the "unsigned" */
171 #ifdef MS_WIN64
172 typedef __int64 ssize_t;
173 #else
174 typedef _W64 int ssize_t;
175 #endif
176 #define HAVE_SSIZE_T 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
178 #if defined(MS_WIN32) && !defined(MS_WIN64)
179 #if defined(_M_IX86)
ca88db01bb51Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows
Zachary Ware zachary.ware@gmail.com
180 #if defined(__INTEL_COMPILER)
ca88db01bb51Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows
Zachary Ware zachary.ware@gmail.com
181 #define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 32 bit (Intel) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
ca88db01bb51Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows
Zachary Ware zachary.ware@gmail.com
182 #else
183 #define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
ca88db01bb51Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows
Zachary Ware zachary.ware@gmail.com
184 #endif /* __INTEL_COMPILER */
185 #define PYD_PLATFORM_TAG "win32"
186 #elif defined(_M_ARM)
187 #define COMPILER _Py_PASTE_VERSION("32 bit (ARM)")
188 #define PYD_PLATFORM_TAG "win_arm"
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
189 #else
190 #define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
191 #endif
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
192 #endif /* MS_WIN32 && !MS_WIN64 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
194 typedef int pid_t;
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
d376fe862b18Introduced a Py_IS_NAN macro, which probably works on the major platforms
Tim Peters tim.peters@gmail.com
196 #include <float.h>
d376fe862b18Introduced a Py_IS_NAN macro, which probably works on the major platforms
Tim Peters tim.peters@gmail.com
197 #define Py_IS_NAN _isnan
d376fe862b18Introduced a Py_IS_NAN macro, which probably works on the major platforms
Tim Peters tim.peters@gmail.com
198 #define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X))
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
199 #define Py_IS_FINITE(X) _finite(X)
200 #define copysign _copysign
9aedb876c2d7Issue #20221: Removed conflicting (or circular) hypot definition
Zachary Ware zachary.ware@gmail.com
9aedb876c2d7Issue #20221: Removed conflicting (or circular) hypot definition
Zachary Ware zachary.ware@gmail.com
202 /* VS 2010 and above already defines hypot as _hypot */
9aedb876c2d7Issue #20221: Removed conflicting (or circular) hypot definition
Zachary Ware zachary.ware@gmail.com
203 #if _MSC_VER < 1600
204 #define hypot _hypot
9aedb876c2d7Issue #20221: Removed conflicting (or circular) hypot definition
Zachary Ware zachary.ware@gmail.com
205 #endif
d376fe862b18Introduced a Py_IS_NAN macro, which probably works on the major platforms
Tim Peters tim.peters@gmail.com
5754f069b123Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release.
Steve Dower steve.dower@microsoft.com
207 /* VS 2015 defines these names with a leading underscore */
5754f069b123Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release.
Steve Dower steve.dower@microsoft.com
208 #if _MSC_VER >= 1900
5754f069b123Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release.
Steve Dower steve.dower@microsoft.com
209 #define timezone _timezone
5754f069b123Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release.
Steve Dower steve.dower@microsoft.com
210 #define daylight _daylight
5754f069b123Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release.
Steve Dower steve.dower@microsoft.com
211 #define tzname _tzname
5754f069b123Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release.
Steve Dower steve.dower@microsoft.com
212 #endif
5754f069b123Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release.
Steve Dower steve.dower@microsoft.com
214 /* Side by Side assemblies supported in VS 2005 and VS 2008 but not 2010*/
215 #if _MSC_VER >= 1400 && _MSC_VER < 1600
216 #define HAVE_SXS 1
217 #endif
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
219 /* define some ANSI types that are not defined in earlier Win headers */
220 #if _MSC_VER >= 1200
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
221 /* This file only exists in VC 6.0 or higher */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
222 #include <basetsd.h>
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
223 #endif
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
225 #endif /* _MSC_VER */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
227 /* ------------------------------------------------------------------------*/
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
228 /* egcs/gnu-win32 defines __GNUC__ and _WIN32 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
229 #if defined(__GNUC__) && defined(_WIN32)
230 /* XXX These defines are likely incomplete, but should be easy to fix.
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
231 They should be complete enough to build extension modules. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
232 /* Suggested by Rene Liebscher R.Liebscher@gmx.de to avoid a GCC 2.91.*
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
233 bug that requires structure imports. More recent versions of the
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
234 compiler don't exhibit this bug.
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
235 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
236 #if (__GNUC__==2) && (__GNUC_MINOR__<=91)
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
237 #warning "Please use an up-to-date version of gcc! (>2.91 recommended)"
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
238 #endif
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
240 #define COMPILER "[gcc]"
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
241 #define hypot _hypot
242 #define PY_LONG_LONG long long
243 #define PY_LLONG_MIN LLONG_MIN
244 #define PY_LLONG_MAX LLONG_MAX
245 #define PY_ULLONG_MAX ULLONG_MAX
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
246 #endif /* GNUC */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
248 /* ------------------------------------------------------------------------*/
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
249 /* lcc-win32 defines __LCC__ */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
250 #if defined(__LCC__)
251 /* XXX These defines are likely incomplete, but should be easy to fix.
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
252 They should be complete enough to build extension modules. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
254 #define COMPILER "[lcc-win32]"
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
255 typedef int pid_t;
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
256 /* __declspec() is supported here too - do nothing to get the defaults */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
258 #endif /* LCC */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
260 /* ------------------------------------------------------------------------*/
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
261 /* End of compilers - finish up */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
263 #ifndef NO_STDIO_H
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
264 # include <stdio.h>
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
265 #endif
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
267 /* 64 bit ints are usually spelt __int64 unless compiler has overridden */
268 #ifndef PY_LONG_LONG
269 # define PY_LONG_LONG __int64
270 # define PY_LLONG_MAX _I64_MAX
271 # define PY_LLONG_MIN _I64_MIN
272 # define PY_ULLONG_MAX _UI64_MAX
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
273 #endif
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
275 /* For Windows the Python core is in a DLL by default. Test
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
276 Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
277 #if !defined(MS_NO_COREDLL) && !defined(Py_NO_ENABLE_SHARED)
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
278 # define Py_ENABLE_SHARED 1 /* standard symbol for shared library */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
279 # define MS_COREDLL /* deprecated old symbol */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
280 #endif /* !MS_NO_COREDLL && ... */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
282 /* All windows compilers that use this header support __declspec */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
283 #define HAVE_DECLSPEC_DLL
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
285 /* For an MSVC DLL, we can nominate the .lib files used by extensions */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
286 #ifdef MS_COREDLL
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
287 # ifndef Py_BUILD_CORE /* not building the core - must be an ext */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
288 # if defined(_MSC_VER)
289 /* So MSVC users need not specify the .lib file in
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
290 their Makefile (other compilers are generally
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
291 taken care of by distutils.) */
292 # if defined(_DEBUG)
293 # pragma comment(lib,"python37_d.lib")
294 # elif defined(Py_LIMITED_API)
295 # pragma comment(lib,"python3.lib")
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
296 # else
297 # pragma comment(lib,"python37.lib")
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
298 # endif /* _DEBUG */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
299 # endif /* _MSC_VER */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
300 # endif /* Py_BUILD_CORE */
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
301 #endif /* MS_COREDLL */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
303 #if defined(MS_WIN64)
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
304 /* maintain "win32" sys.platform for backward compatibility of Python code,
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
305 the Win64 API should be close enough to the Win32 API to make this
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
306 preferable */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
307 # define PLATFORM "win32"
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
308 # define SIZEOF_VOID_P 8
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
309 # define SIZEOF_TIME_T 8
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
310 # define SIZEOF_OFF_T 4
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
311 # define SIZEOF_FPOS_T 8
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
312 # define SIZEOF_HKEY 8
313 # define SIZEOF_SIZE_T 8
314 /* configure.ac defines HAVE_LARGEFILE_SUPPORT iff HAVE_LONG_LONG,
315 sizeof(off_t) > sizeof(long), and sizeof(PY_LONG_LONG) >= sizeof(off_t).
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
316 On Win64 the second condition is not true, but if fpos_t replaces off_t
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
317 then this is true. The uses of HAVE_LARGEFILE_SUPPORT imply that Win64
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
318 should define this. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
319 # define HAVE_LARGEFILE_SUPPORT
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
320 #elif defined(MS_WIN32)
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
321 # define PLATFORM "win32"
322 # define HAVE_LARGEFILE_SUPPORT
323 # define SIZEOF_VOID_P 4
324 # define SIZEOF_OFF_T 4
325 # define SIZEOF_FPOS_T 8
326 # define SIZEOF_HKEY 4
327 # define SIZEOF_SIZE_T 4
328 /* MS VS2005 changes time_t to a 64-bit type on all platforms */
9b13da647a5ePatch #1437769: notice that time_t is a 64-bit type in VS2005
Martin v. Löwis martin@v.loewis.de
329 # if defined(_MSC_VER) && _MSC_VER >= 1400
9b13da647a5ePatch #1437769: notice that time_t is a 64-bit type in VS2005
Martin v. Löwis martin@v.loewis.de
330 # define SIZEOF_TIME_T 8
9b13da647a5ePatch #1437769: notice that time_t is a 64-bit type in VS2005
Martin v. Löwis martin@v.loewis.de
331 # else
9b13da647a5ePatch #1437769: notice that time_t is a 64-bit type in VS2005
Martin v. Löwis martin@v.loewis.de
332 # define SIZEOF_TIME_T 4
9b13da647a5ePatch #1437769: notice that time_t is a 64-bit type in VS2005
Martin v. Löwis martin@v.loewis.de
333 # endif
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
334 #endif
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
336 #ifdef _DEBUG
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
337 # define Py_DEBUG
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
338 #endif
a8df0c0be242Land Patch [ 566100 ] Rationalize DL_IMPORT and DL_EXPORT.
Mark Hammond mhammond@skippinet.com.au
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
341 #ifdef MS_WIN32
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
343 #define SIZEOF_SHORT 2
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
344 #define SIZEOF_INT 4
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
345 #define SIZEOF_LONG 4
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
346 #define SIZEOF_LONG_LONG 8
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
347 #define SIZEOF_DOUBLE 8
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
348 #define SIZEOF_FLOAT 4
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
350 /* VC 7.1 has them and VC 6.0 does not. VC 6.0 has a version number of 1200.
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
351 Microsoft eMbedded Visual C++ 4.0 has a version number of 1201 and doesn't
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
352 define these.
353 If some compiler does not provide them, modify the #if appropriately. */
354 #if defined(_MSC_VER)
355 #if _MSC_VER > 1300
356 #define HAVE_UINTPTR_T 1
357 #define HAVE_INTPTR_T 1
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
358 #else
359 /* VC6, VS 2002 and eVC4 don't support the C99 LL suffix for 64-bit integer literals */
29ae5e0fc348Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk.
Thomas Wouters thomas@python.org
360 #define Py_LL(x) x##I64
361 #endif /* _MSC_VER > 1300 */
362 #endif /* _MSC_VER */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
364 #endif
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
bb5de24a343fIssue #4258: Make it possible to use 30-bit digits for PyLongs:
Mark Dickinson dickinsm@gmail.com
366 /* define signed and unsigned exact-width 32-bit and 64-bit types, used in the
4d62a62ba44dIssue #18783: Removed existing mentions of Python long type in docstrings,
Serhiy Storchaka storchaka@gmail.com
367 implementation of Python integers. */
368 #define PY_UINT32_T uint32_t
369 #define PY_UINT64_T uint64_t
370 #define PY_INT32_T int32_t
371 #define PY_INT64_T int64_t
bb5de24a343fIssue #4258: Make it possible to use 30-bit digits for PyLongs:
Mark Dickinson dickinsm@gmail.com
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
373 /* Fairly standard from here! */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
375 /* Define to 1 if you have the `copysign' function. */
376 #define HAVE_COPYSIGN 1
1c35cefd25b7Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Zachary Ware zachary.ware@gmail.com
378 /* Define to 1 if you have the `round' function. */
1c35cefd25b7Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Zachary Ware zachary.ware@gmail.com
379 #if _MSC_VER >= 1800
1c35cefd25b7Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Zachary Ware zachary.ware@gmail.com
380 #define HAVE_ROUND 1
1c35cefd25b7Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Zachary Ware zachary.ware@gmail.com
381 #endif
1c35cefd25b7Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Zachary Ware zachary.ware@gmail.com
383 /* Define to 1 if you have the `isinf' macro. */
384 #define HAVE_DECL_ISINF 1
386 /* Define to 1 if you have the `isnan' function. */
387 #define HAVE_DECL_ISNAN 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
389 /* Define if on AIX 3.
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
390 System headers sometimes define this.
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
391 We just want to avoid a redefinition error message. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
392 #ifndef _ALL_SOURCE
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
393 /* #undef _ALL_SOURCE */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
394 #endif
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
396 /* Define to empty if the keyword does not work. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
397 /* #define const */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
399 /* Define to 1 if you have the <conio.h> header file. */
400 #define HAVE_CONIO_H 1
402 /* Define to 1 if you have the <direct.h> header file. */
403 #define HAVE_DIRECT_H 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
405 /* Define if you have dirent.h. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
406 /* #define DIRENT 1 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
408 /* Define to the type of elements in the array set by `getgroups'.
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
409 Usually this is either `int' or `gid_t'. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
410 /* #undef GETGROUPS_T */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
412 /* Define to `int' if <sys/types.h> doesn't define. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
413 /* #undef gid_t */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
415 /* Define if your struct tm has tm_zone. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
416 /* #undef HAVE_TM_ZONE */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
418 /* Define if you don't have tm_zone but do have the external array
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
419 tzname. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
420 #define HAVE_TZNAME
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
422 /* Define to `int' if <sys/types.h> doesn't define. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
423 /* #undef mode_t */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
425 /* Define if you don't have dirent.h, but have ndir.h. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
426 /* #undef NDIR */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
428 /* Define to `long' if <sys/types.h> doesn't define. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
429 /* #undef off_t */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
431 /* Define to `int' if <sys/types.h> doesn't define. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
432 /* #undef pid_t */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
434 /* Define if the system does not provide POSIX.1 features except
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
435 with this defined. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
436 /* #undef _POSIX_1_SOURCE */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
438 /* Define if you need to in order for stat and other things to work. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
439 /* #undef _POSIX_SOURCE */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
441 /* Define as the return type of signal handlers (int or void). */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
442 #define RETSIGTYPE void
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
444 /* Define to `unsigned' if <sys/types.h> doesn't define. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
445 /* #undef size_t */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
447 /* Define if you have the ANSI C header files. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
448 #define STDC_HEADERS 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
450 /* Define if you don't have dirent.h, but have sys/dir.h. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
451 /* #undef SYSDIR */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
453 /* Define if you don't have dirent.h, but have sys/ndir.h. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
454 /* #undef SYSNDIR */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
456 /* Define if you can safely include both <sys/time.h> and <time.h>. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
457 /* #undef TIME_WITH_SYS_TIME */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
459 /* Define if your <sys/time.h> declares struct tm. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
460 /* #define TM_IN_SYS_TIME 1 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
462 /* Define to `int' if <sys/types.h> doesn't define. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
463 /* #undef uid_t */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
465 /* Define if the closedir function returns void instead of int. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
466 /* #undef VOID_CLOSEDIR */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
468 /* Define if getpgrp() must be called as getpgrp(0)
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
469 and (consequently) setpgrp() as setpgrp(0, 0). */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
470 /* #undef GETPGRP_HAVE_ARGS */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
472 /* Define this if your time.h defines altzone */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
473 /* #define HAVE_ALTZONE */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
475 /* Define if you have the putenv function. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
476 #define HAVE_PUTENV
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
478 /* Define if your compiler supports function prototypes */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
479 #define HAVE_PROTOTYPES
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
481 /* Define if you can safely include both <sys/select.h> and <sys/time.h>
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
482 (which you can't on SCO ODT 3.0). */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
483 /* #undef SYS_SELECT_WITH_SYS_TIME */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
485 /* Define if you want documentation strings in extension modules */
486 #define WITH_DOC_STRINGS 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
488 /* Define if you want to compile in rudimentary thread support */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
489 /* #undef WITH_THREAD */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
491 /* Define if you want to use the GNU readline library */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
492 /* #define WITH_READLINE 1 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
494 /* Use Python's own small-block memory-allocator. */
495 #define WITH_PYMALLOC 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
497 /* Define if you have clock. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
498 /* #define HAVE_CLOCK */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
500 /* Define when any dynamic module loading is enabled */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
501 #define HAVE_DYNAMIC_LOADING
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
503 /* Define if you have ftime. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
504 #define HAVE_FTIME
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
506 /* Define if you have getpeername. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
507 #define HAVE_GETPEERNAME
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
509 /* Define if you have getpgrp. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
510 /* #undef HAVE_GETPGRP */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
512 /* Define if you have getpid. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
513 #define HAVE_GETPID
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
515 /* Define if you have gettimeofday. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
516 /* #undef HAVE_GETTIMEOFDAY */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
518 /* Define if you have getwd. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
519 /* #undef HAVE_GETWD */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
521 /* Define if you have lstat. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
522 /* #undef HAVE_LSTAT */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
524 /* Define if you have the mktime function. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
525 #define HAVE_MKTIME
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
527 /* Define if you have nice. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
528 /* #undef HAVE_NICE */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
530 /* Define if you have readlink. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
531 /* #undef HAVE_READLINK */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
533 /* Define if you have select. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
534 /* #undef HAVE_SELECT */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
536 /* Define if you have setpgid. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
537 /* #undef HAVE_SETPGID */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
539 /* Define if you have setpgrp. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
540 /* #undef HAVE_SETPGRP */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
542 /* Define if you have setsid. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
543 /* #undef HAVE_SETSID */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
545 /* Define if you have setvbuf. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
546 #define HAVE_SETVBUF
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
548 /* Define if you have siginterrupt. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
549 /* #undef HAVE_SIGINTERRUPT */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
551 /* Define if you have symlink. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
552 /* #undef HAVE_SYMLINK */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
554 /* Define if you have tcgetpgrp. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
555 /* #undef HAVE_TCGETPGRP */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
557 /* Define if you have tcsetpgrp. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
558 /* #undef HAVE_TCSETPGRP */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
560 /* Define if you have times. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
561 /* #undef HAVE_TIMES */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
563 /* Define if you have uname. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
564 /* #undef HAVE_UNAME */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
566 /* Define if you have waitpid. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
567 /* #undef HAVE_WAITPID */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
69cd80f8e133Issue #5562: Use wcsftime for time.strftime where available.
Martin v. Löwis martin@v.loewis.de
569 /* Define to 1 if you have the `wcsftime' function. */
570 #if defined(_MSC_VER) && _MSC_VER >= 1310
69cd80f8e133Issue #5562: Use wcsftime for time.strftime where available.
Martin v. Löwis martin@v.loewis.de
571 #define HAVE_WCSFTIME 1
572 #endif
69cd80f8e133Issue #5562: Use wcsftime for time.strftime where available.
Martin v. Löwis martin@v.loewis.de
574 /* Define to 1 if you have the `wcscoll' function. */
575 #define HAVE_WCSCOLL 1
577 /* Define to 1 if you have the `wcsxfrm' function. */
578 #define HAVE_WCSXFRM 1
fc7ee478ed3bIssue #13194: zlib.compressobj().copy() and zlib.decompressobj().copy() are now available on Windows.
Nadeem Vawda nadeem.vawda@gmail.com
580 /* Define if the zlib library has inflateCopy */
fc7ee478ed3bIssue #13194: zlib.compressobj().copy() and zlib.decompressobj().copy() are now available on Windows.
Nadeem Vawda nadeem.vawda@gmail.com
581 #define HAVE_ZLIB_COPY 1
fc7ee478ed3bIssue #13194: zlib.compressobj().copy() and zlib.decompressobj().copy() are now available on Windows.
Nadeem Vawda nadeem.vawda@gmail.com
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
583 /* Define if you have the <dlfcn.h> header file. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
584 /* #undef HAVE_DLFCN_H */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
586 /* Define to 1 if you have the <errno.h> header file. */
587 #define HAVE_ERRNO_H 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
589 /* Define if you have the <fcntl.h> header file. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
590 #define HAVE_FCNTL_H 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
592 /* Define to 1 if you have the <process.h> header file. */
593 #define HAVE_PROCESS_H 1
595 /* Define to 1 if you have the <signal.h> header file. */
596 #define HAVE_SIGNAL_H 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
598 /* Define if you have the <stdarg.h> prototypes. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
599 #define HAVE_STDARG_PROTOTYPES
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
601 /* Define if you have the <stddef.h> header file. */
602 #define HAVE_STDDEF_H 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
604 /* Define if you have the <sys/audioio.h> header file. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
605 /* #undef HAVE_SYS_AUDIOIO_H */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
607 /* Define if you have the <sys/param.h> header file. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
608 /* #define HAVE_SYS_PARAM_H 1 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
610 /* Define if you have the <sys/select.h> header file. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
611 /* #define HAVE_SYS_SELECT_H 1 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
613 /* Define to 1 if you have the <sys/stat.h> header file. */
614 #define HAVE_SYS_STAT_H 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
616 /* Define if you have the <sys/time.h> header file. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
617 /* #define HAVE_SYS_TIME_H 1 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
619 /* Define if you have the <sys/times.h> header file. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
620 /* #define HAVE_SYS_TIMES_H 1 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
622 /* Define to 1 if you have the <sys/types.h> header file. */
623 #define HAVE_SYS_TYPES_H 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
625 /* Define if you have the <sys/un.h> header file. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
626 /* #define HAVE_SYS_UN_H 1 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
628 /* Define if you have the <sys/utime.h> header file. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
629 /* #define HAVE_SYS_UTIME_H 1 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
631 /* Define if you have the <sys/utsname.h> header file. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
632 /* #define HAVE_SYS_UTSNAME_H 1 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
634 /* Define if you have the <unistd.h> header file. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
635 /* #define HAVE_UNISTD_H 1 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
637 /* Define if you have the <utime.h> header file. */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
638 /* #define HAVE_UTIME_H 1 */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
640 /* Define if the compiler provides a wchar.h header file. */
641 #define HAVE_WCHAR_H 1
643 /* The size of `wchar_t', as computed by sizeof. */
644 #define SIZEOF_WCHAR_T 2
646 /* The size of `_Bool', as computed by sizeof. */
647 #define SIZEOF__BOOL 1
0410bf251e10Issue #17931: Resolve confusion on Windows between pids and process handles.
Richard Oudkerk shibturn@gmail.com
649 /* The size of `pid_t', as computed by sizeof. */
0410bf251e10Issue #17931: Resolve confusion on Windows between pids and process handles.
Richard Oudkerk shibturn@gmail.com
650 #define SIZEOF_PID_T SIZEOF_INT
2298bcba6ec9Close #17931: Fix PyLong_FromPid() on Windows 64-bit: processes are identified
Victor Stinner victor.stinner@gmail.com
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
652 /* Define if you have the dl library (-ldl). */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
653 /* #undef HAVE_LIBDL */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
655 /* Define if you have the mpc library (-lmpc). */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
656 /* #undef HAVE_LIBMPC */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
658 /* Define if you have the nsl library (-lnsl). */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
659 #define HAVE_LIBNSL 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
661 /* Define if you have the seq library (-lseq). */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
662 /* #undef HAVE_LIBSEQ */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
664 /* Define if you have the socket library (-lsocket). */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
665 #define HAVE_LIBSOCKET 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
667 /* Define if you have the sun library (-lsun). */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
668 /* #undef HAVE_LIBSUN */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
670 /* Define if you have the termcap library (-ltermcap). */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
671 /* #undef HAVE_LIBTERMCAP */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
673 /* Define if you have the termlib library (-ltermlib). */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
674 /* #undef HAVE_LIBTERMLIB */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
676 /* Define if you have the thread library (-lthread). */
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
677 /* #undef HAVE_LIBTHREAD */
679 /* WinSock does not use a bitmask in select, and uses
680 socket handles greater than FD_SETSIZE */
681 #define Py_SOCKET_FD_CAN_BE_GE_FD_SETSIZE
683 /* Define if C doubles are 64-bit IEEE 754 binary format, stored with the
684 least significant byte first */
685 #define DOUBLE_IS_LITTLE_ENDIAN_IEEE754 1
2dea40e40d9dPatch #411138: Rename config.h to pyconfig.h. Closes bug #231774.
Martin v. Löwis martin@v.loewis.de
parents:
687 #endif /* !Py_CONFIG_H */