summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-02-10 16:50:21 (GMT)
committerSkip Montanaro <skip@pobox.com>2004-02-10 16:50:21 (GMT)
commit7befb9966e1435475a9d2e9d3cc3670564ce77aa (patch)
tree4e33029bfd72bb8eaa72f9fdd5c1712e5ecdb97b /Python/pythonrun.c
parent05eb40128e305e07527d317e3964e8a1160d0961 (diff)
downloadcpython-7befb9966e1435475a9d2e9d3cc3670564ce77aa.zip
cpython-7befb9966e1435475a9d2e9d3cc3670564ce77aa.tar.gz
cpython-7befb9966e1435475a9d2e9d3cc3670564ce77aa.tar.bz2
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 eedb562..224b3c8 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() */
}