summaryrefslogtreecommitdiff
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-09-26 05:46:01 +0000
committerFred Drake <fdrake@acm.org>2000-09-26 05:46:01 +0000
commit579365e8591bb30dfa8b97a2899a2e2a568d6bdb (patch)
tree4b5adf6fef320c2d98fcd0ec72222c77bb657fd4 /Python/modsupport.c
parent048331fe0a96404087df6ec74306f742608f146a (diff)
downloadcpython-579365e8591bb30dfa8b97a2899a2e2a568d6bdb.tar.gz
Rationalize use of limits.h, moving the inclusion to Python.h.
Add definitions of INT_MAX and LONG_MAX to pyport.h. Remove includes of limits.h and conditional definitions of INT_MAX and LONG_MAX elsewhere. This closes SourceForge patch #101659 and bug #115323.
Diffstat (limited to 'Python/modsupport.c')
-rw-r--r--Python/modsupport.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/modsupport.c b/Python/modsupport.c
index 9c2dc18a45..ef36d108f5 100644
--- a/Python/modsupport.c
+++ b/Python/modsupport.c
@@ -2,9 +2,6 @@
/* Module support implementation */
#include "Python.h"
-#ifdef HAVE_LIMITS_H
-#include <limits.h>
-#endif
#ifdef MPW /* MPW pushes 'extended' for float and double types with varargs */
typedef extended va_double;