diff Python/importdl.h @ 22054:5cbcfde3ad55 legacy-trunk

OS/2 EMX port changes (Python part of patch #450267): Python/ dynload_shlib.c // EMX port emulates dlopen() etc. for DL extensions import.c // changes to support 8.3 DLL name limit (VACPP+EMX) // and case sensitive import semantics importdl.h thread_os2.h
author Andrew MacIntyre <andymac@bullseye.apana.org.au>
date Tue, 26 Feb 2002 11:41:34 +0000
parents f576ffd57966
children 54aacb87beda
line wrap: on
line diff
--- a/Python/importdl.h	Tue Feb 26 11:36:35 2002 +0000
+++ b/Python/importdl.h	Tue Feb 26 11:41:34 2002 +0000
@@ -37,7 +37,7 @@
 #include <windows.h>
 typedef FARPROC dl_funcptr;
 #else
-#ifdef PYOS_OS2
+#if defined(PYOS_OS2) && !defined(PYCC_GCC)
 #include <os2def.h>
 typedef int (* APIENTRY dl_funcptr)();
 #else