summaryrefslogtreecommitdiffstats
path: root/PC/os2emx/pyconfig.h
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2003-07-16 13:31:11 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2003-07-16 13:31:11 (GMT)
commitbac1ea937e944a27644777d4522d929890922840 (patch)
treeafa5131692c8d08996a1b2d00b2fa625f24e1449 /PC/os2emx/pyconfig.h
parentd24c767d5b3e8bbcfe7c9185f71a954df49c18c3 (diff)
downloadcpython-bac1ea937e944a27644777d4522d929890922840.zip
cpython-bac1ea937e944a27644777d4522d929890922840.tar.gz
cpython-bac1ea937e944a27644777d4522d929890922840.tar.bz2
More pre-2.3 build tweaks for the OS/2 EMX port:
- more clean up of the generated import library definiton (.DEF file) following checking of patch 770521, and tightening of the sed regexps. - use -O3 even with gcc 2.8.1 - worth nearly 10% with 2.3; worth nothing with 2.2.x. - clean up a couple of whitespace issues introduced by a cut'n'paste.
Diffstat (limited to 'PC/os2emx/pyconfig.h')
-rw-r--r--PC/os2emx/pyconfig.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/PC/os2emx/pyconfig.h b/PC/os2emx/pyconfig.h
index 206223f..33fbda2 100644
--- a/PC/os2emx/pyconfig.h
+++ b/PC/os2emx/pyconfig.h
@@ -31,12 +31,12 @@
* imported from the Python core DLL aren't duplicated.
*/
#ifdef Py_BUILD_CORE
-# define PyAPI_FUNC(RTYPE) RTYPE
+# define PyAPI_FUNC(RTYPE) RTYPE
#else
-# define PyAPI_FUNC(RTYPE) extern RTYPE
+# define PyAPI_FUNC(RTYPE) extern RTYPE
#endif
-#define PyAPI_DATA(RTYPE) extern RTYPE
-#define PyMODINIT_FUNC void
+#define PyAPI_DATA(RTYPE) extern RTYPE
+#define PyMODINIT_FUNC void
/* Use OS/2 flavour of threads */
#define WITH_THREAD 1