summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-07-12 05:01:20 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-07-12 05:01:20 (GMT)
commit60519e8d40d779561bfdbd0a2101472e405c6754 (patch)
tree6cb4aa97e65a2d40f00b97c5e1112e7e3384b086 /Include/Python.h
parent9ee91f11b3ec6822eec66f52d6052532a3fd1548 (diff)
downloadcpython-60519e8d40d779561bfdbd0a2101472e405c6754.zip
cpython-60519e8d40d779561bfdbd0a2101472e405c6754.tar.gz
cpython-60519e8d40d779561bfdbd0a2101472e405c6754.tar.bz2
HAVE_LIMITS_H -- raise #error if not defined; limits.h is std C
ULONG_MAX -- removed; std C requires it in limits.h LONGLONG_MAX -- removed; never used ULONGLONGMAX -- removed; never used
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index d4afdaf..32efa0c 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -33,6 +33,8 @@
#ifdef HAVE_LIMITS_H
#include <limits.h>
+#else
+#error "limits.h is required by std C -- why isn't HAVE_LIMITS_H defined?"
#endif
#if defined(__sgi) && defined(WITH_THREAD) && !defined(_SGI_MP_SOURCE)