summaryrefslogtreecommitdiff
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-02-10 12:24:06 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2013-02-10 12:24:06 +0200
commitb269ef065938e598ab8bd99f73306aa7883e4257 (patch)
tree1bf6aeb4d1a83929b68c8d06b01bf8a434e8de03 /Python/importdl.h
parent82ad4d2a8d5b7b3147af9cf6406fca37d493e6ee (diff)
parent7dc68556d28f052d990549246963b63b4021ba4c (diff)
downloadcpython-b269ef065938e598ab8bd99f73306aa7883e4257.tar.gz
Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
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