comparison Python/thread.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 4055375dc05e
children 28a205ecb4dd
comparison
equal deleted inserted replaced
31503:eb48b2503f20 31504:2abc52c3d4c2
9 9
10 #ifndef DONT_HAVE_STDIO_H 10 #ifndef DONT_HAVE_STDIO_H
11 #include <stdio.h> 11 #include <stdio.h>
12 #endif 12 #endif
13 13
14 #ifdef HAVE_STDLIB_H
15 #include <stdlib.h> 14 #include <stdlib.h>
16 #else
17 #ifdef Py_DEBUG
18 extern char *getenv(const char *);
19 #endif
20 #endif
21 15
22 #ifdef __sgi 16 #ifdef __sgi
23 #ifndef HAVE_PTHREAD_H /* XXX Need to check in configure.in */ 17 #ifndef HAVE_PTHREAD_H /* XXX Need to check in configure.in */
24 #undef _POSIX_THREADS 18 #undef _POSIX_THREADS
25 #endif 19 #endif