summaryrefslogtreecommitdiff
path: root/Python/compile.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/compile.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/compile.c')
-rw-r--r--Python/compile.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 0409f2d0d8..e14fc01df8 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -24,12 +24,6 @@
#include "structmember.h"
#include <ctype.h>
-#ifdef HAVE_LIMITS_H
-#include <limits.h>
-#endif
-#ifndef INT_MAX
-#define INT_MAX 2147483647
-#endif
/* Three symbols from graminit.h are also defined in Python.h, with
Py_ prefixes to their names. Python.h can't include graminit.h