summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-02-10 16:50:21 +0000
committerSkip Montanaro <skip@pobox.com>2004-02-10 16:50:21 +0000
commitf50a3457a0f4ed8e317aeccab7c00fd847b598e7 (patch)
tree7d831a386ac52c5245ab9852882f3598b5fad06a /Python/pythonrun.c
parent76f5dc69517cbf13fec6dcb2899257348b758b6d (diff)
downloadcpython-f50a3457a0f4ed8e317aeccab7c00fd847b598e7.tar.gz
remove support for missing ANSI C header files (limits.h, stddef.h, etc).
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index eedb562b3a..224b3c8d66 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -13,9 +13,7 @@
#include "eval.h"
#include "marshal.h"
-#ifdef HAVE_SIGNAL_H
#include <signal.h>
-#endif
#ifdef HAVE_LANGINFO_H
#include <locale.h>
@@ -1563,7 +1561,6 @@ Py_Exit(int sts)
static void
initsigs(void)
{
-#ifdef HAVE_SIGNAL_H
#ifdef SIGPIPE
signal(SIGPIPE, SIG_IGN);
#endif
@@ -1573,7 +1570,6 @@ initsigs(void)
#ifdef SIGXFSZ
signal(SIGXFSZ, SIG_IGN);
#endif
-#endif /* HAVE_SIGNAL_H */
PyOS_InitInterrupts(); /* May imply initsignal() */
}