summaryrefslogtreecommitdiff
path: root/Modules/signalmodule.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-04-17 22:07:51 +0200
committerAntoine Pitrou <solipsis@pitrou.net>2013-04-17 22:07:51 +0200
commit10d813a0c9f6f54832273e59d6c10e389dd96034 (patch)
tree04428fdd45fb83a32668e36ad078a3758722cfa1 /Modules/signalmodule.c
parent7d26b4a29bf3ff69d7aac3976ed8ca66727a48d6 (diff)
parent7ca22e4dbac54ce47ec2f8dc881ec2cc124f5693 (diff)
downloadcpython-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.c7
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 */