comparison Python/pythonrun.c @ 31504:2abc52c3d4c2 legacy-trunk

remove support for missing ANSI C header files (limits.h, stddef.h, etc).
author Skip Montanaro <skip@pobox.com>
date Tue, 10 Feb 2004 16:50:21 +0000
parents f69589179c55
children 76053a1dd452
comparison
equal deleted inserted replaced
31503:eb48b2503f20 31504:2abc52c3d4c2
11 #include "compile.h" 11 #include "compile.h"
12 #include "symtable.h" 12 #include "symtable.h"
13 #include "eval.h" 13 #include "eval.h"
14 #include "marshal.h" 14 #include "marshal.h"
15 15
16 #ifdef HAVE_SIGNAL_H
17 #include <signal.h> 16 #include <signal.h>
18 #endif
19 17
20 #ifdef HAVE_LANGINFO_H 18 #ifdef HAVE_LANGINFO_H
21 #include <locale.h> 19 #include <locale.h>
22 #include <langinfo.h> 20 #include <langinfo.h>
23 #endif 21 #endif
1561 } 1559 }
1562 1560
1563 static void 1561 static void
1564 initsigs(void) 1562 initsigs(void)
1565 { 1563 {
1566 #ifdef HAVE_SIGNAL_H
1567 #ifdef SIGPIPE 1564 #ifdef SIGPIPE
1568 signal(SIGPIPE, SIG_IGN); 1565 signal(SIGPIPE, SIG_IGN);
1569 #endif 1566 #endif
1570 #ifdef SIGXFZ 1567 #ifdef SIGXFZ
1571 signal(SIGXFZ, SIG_IGN); 1568 signal(SIGXFZ, SIG_IGN);
1572 #endif 1569 #endif
1573 #ifdef SIGXFSZ 1570 #ifdef SIGXFSZ
1574 signal(SIGXFSZ, SIG_IGN); 1571 signal(SIGXFSZ, SIG_IGN);
1575 #endif 1572 #endif
1576 #endif /* HAVE_SIGNAL_H */
1577 PyOS_InitInterrupts(); /* May imply initsignal() */ 1573 PyOS_InitInterrupts(); /* May imply initsignal() */
1578 } 1574 }
1579 1575
1580 1576
1581 /* 1577 /*