diff options
author | Jesus Cea <jcea@jcea.es> | 2012-10-04 23:04:27 (GMT) |
---|---|---|
committer | Jesus Cea <jcea@jcea.es> | 2012-10-04 23:04:27 (GMT) |
commit | b48925a4060243688c108d0df1e102eb7a1580d0 (patch) | |
tree | cf0c99e622ff07e85ba456ff66b9dde9cd0a1332 /Python/dynload_shlib.c | |
parent | d4b5aaa9a9455f53c1fe4244f37ee3d5632bf53f (diff) | |
download | cpython-b48925a4060243688c108d0df1e102eb7a1580d0.zip cpython-b48925a4060243688c108d0df1e102eb7a1580d0.tar.gz cpython-b48925a4060243688c108d0df1e102eb7a1580d0.tar.bz2 |
#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 6df6199..46fed6e 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 */ |