summaryrefslogtreecommitdiff
path: root/Python/codecs.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/codecs.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/codecs.c')
-rw-r--r--Python/codecs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/codecs.c b/Python/codecs.c
index c3f93ccda9..3324b806fc 100644
--- a/Python/codecs.c
+++ b/Python/codecs.c
@@ -10,9 +10,6 @@ Copyright (c) Corporation for National Research Initiatives.
#include "Python.h"
#include <ctype.h>
-#ifdef HAVE_LIMITS_H
-#include <limits.h>
-#endif
/* --- Globals ------------------------------------------------------------ */