diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-04-17 22:07:51 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-04-17 22:07:51 +0200 |
commit | 10d813a0c9f6f54832273e59d6c10e389dd96034 (patch) | |
tree | 04428fdd45fb83a32668e36ad078a3758722cfa1 /Modules/signalmodule.c | |
parent | 7d26b4a29bf3ff69d7aac3976ed8ca66727a48d6 (diff) | |
parent | 7ca22e4dbac54ce47ec2f8dc881ec2cc124f5693 (diff) | |
download | cpython-10d813a0c9f6f54832273e59d6c10e389dd96034.tar.gz |
Issue #17782: Fix undefined behaviour on platforms where ``struct timespec``'s "tv_nsec" member is not a C long.
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r-- | Modules/signalmodule.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 0cc7237d2e..dd55c10b90 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -9,7 +9,7 @@ #endif #ifdef MS_WINDOWS -#include <Windows.h> +#include <windows.h> #ifdef HAVE_PROCESS_H #include <process.h> #endif @@ -37,11 +37,6 @@ #define SIG_ERR ((PyOS_sighandler_t)(-1)) #endif -#if defined(PYOS_OS2) && !defined(PYCC_GCC) -#define NSIG 12 -#include <process.h> -#endif - #ifndef NSIG # if defined(_NSIG) # define NSIG _NSIG /* For BSD/SysV */ |