summaryrefslogtreecommitdiff
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2012-10-05 01:04:27 +0200
committerJesus Cea <jcea@jcea.es>2012-10-05 01:04:27 +0200
commitb48925a4060243688c108d0df1e102eb7a1580d0 (patch)
treecf0c99e622ff07e85ba456ff66b9dde9cd0a1332 /Python/importdl.h
parentd4b5aaa9a9455f53c1fe4244f37ee3d5632bf53f (diff)
downloadcpython-git-b48925a4060243688c108d0df1e102eb7a1580d0.tar.gz
#16135: Removal of OS/2 support (I)
Diffstat (limited to 'Python/importdl.h')
-rw-r--r--Python/importdl.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/Python/importdl.h b/Python/importdl.h
index 6b9cf750a4..6a51a91d2c 100644
--- a/Python/importdl.h
+++ b/Python/importdl.h
@@ -18,13 +18,8 @@ extern PyObject *_PyImport_LoadDynamicModule(PyObject *name, PyObject *pathname,
#include <windows.h>
typedef FARPROC dl_funcptr;
#else
-#if defined(PYOS_OS2) && !defined(PYCC_GCC)
-#include <os2def.h>
-typedef int (* APIENTRY dl_funcptr)();
-#else
typedef void (*dl_funcptr)(void);
#endif
-#endif
#ifdef __cplusplus