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.
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