Mercurial > cpython-lru_cache-weakref
diff Include/Python.h @ 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 | e118e4e8e224 |
| children | 03693af46afb |
line wrap: on
line diff
--- a/Include/Python.h Tue Feb 10 15:51:15 2004 +0000 +++ b/Include/Python.h Tue Feb 10 16:50:21 2004 +0000 @@ -15,11 +15,7 @@ #define WITH_CYCLE_GC 1 #endif -#ifdef HAVE_LIMITS_H #include <limits.h> -#else -#error "limits.h is required by std C -- why isn't HAVE_LIMITS_H defined?" -#endif #ifndef UCHAR_MAX #error "Something's broken. UCHAR_MAX should be defined in limits.h." @@ -40,9 +36,7 @@ #include <string.h> #include <errno.h> -#ifdef HAVE_STDLIB_H #include <stdlib.h> -#endif #ifdef HAVE_UNISTD_H #include <unistd.h> #endif
