diff options
author | Jesus Cea <jcea@jcea.es> | 2012-10-05 01:04:27 +0200 |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-10-05 01:04:27 +0200 |
commit | 63755a6bb1e812c6a3b40b158dded0aed326bf77 (patch) | |
tree | bfecd3ab6c72d05e51677c08df60c78bb1940ef4 /Python/dynload_shlib.c | |
parent | 48902eec54451a2603335a564394fe2b5a1906b2 (diff) | |
download | cpython-63755a6bb1e812c6a3b40b158dded0aed326bf77.tar.gz |
#16135: Removal of OS/2 support (I)
Diffstat (limited to 'Python/dynload_shlib.c')
-rw-r--r-- | Python/dynload_shlib.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c index 6df6199ae8..46fed6e7fd 100644 --- a/Python/dynload_shlib.c +++ b/Python/dynload_shlib.c @@ -18,10 +18,6 @@ #ifdef HAVE_DLFCN_H #include <dlfcn.h> -#else -#if defined(PYOS_OS2) && defined(PYCC_GCC) -#include "dlfcn.h" -#endif #endif #if (defined(__OpenBSD__) || defined(__NetBSD__)) && !defined(__ELF__) @@ -40,10 +36,6 @@ const char *_PyImport_DynLoadFiletab[] = { #ifdef __CYGWIN__ ".dll", #else /* !__CYGWIN__ */ -#if defined(PYOS_OS2) && defined(PYCC_GCC) - ".pyd", - ".dll", -#else /* !(defined(PYOS_OS2) && defined(PYCC_GCC)) */ #ifdef __VMS ".exe", ".EXE", @@ -52,7 +44,6 @@ const char *_PyImport_DynLoadFiletab[] = { ".abi" PYTHON_ABI_STRING ".so", ".so", #endif /* __VMS */ -#endif /* defined(PYOS_OS2) && defined(PYCC_GCC) */ #endif /* __CYGWIN__ */ NULL, }; @@ -111,9 +102,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *shortname, } } -#if !(defined(PYOS_OS2) && defined(PYCC_GCC)) dlopenflags = PyThreadState_GET()->interp->dlopenflags; -#endif #ifdef __VMS /* VMS currently don't allow a pathname, use a logical name instead */ |