summaryrefslogtreecommitdiffstats
path: root/Python/importdl.h
diff options
context:
space:
mode:
Diffstat (limited to 'Python/importdl.h')
-rw-r--r--Python/importdl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/importdl.h b/Python/importdl.h
index 76fd05d..8e04f28 100644
--- a/Python/importdl.h
+++ b/Python/importdl.h
@@ -37,7 +37,7 @@ extern PyObject *_PyImport_LoadDynamicModule(char *name, char *pathname,
#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