summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
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 /Include/Python.h
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 'Include/Python.h')
-rw-r--r--Include/Python.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/Include/Python.h b/Include/Python.h
index bff2c57..232cdbe 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -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