summaryrefslogtreecommitdiff
path: root/Python/importdl.h
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2012-11-10 21:10:31 -0800
committerGregory P. Smith <greg@krypto.org>2012-11-10 21:10:31 -0800
commit22f9e65bb11ab8dee2562fe5bf4e19dc9ff87bf7 (patch)
treeb2ee3bf7504f2ef298b67d1e70b43138265fd626 /Python/importdl.h
parentf6128db16b5187864ee8da2078d87bd52539fcad (diff)
parentbbdd90ba3a4de0c56d65b1fcc6db37b2730119d6 (diff)
downloadcpython-22f9e65bb11ab8dee2562fe5bf4e19dc9ff87bf7.tar.gz
Fixes issue #14396: Handle the odd rare case of waitpid returning 0
when not expected in subprocess.Popen.wait().
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