From d5fadf75e4d18df61db41205ace0cda28d98eeaa Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 26 Sep 2000 05:46:01 +0000 Subject: 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. --- Python/compile.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'Python/compile.c') 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 -#ifdef HAVE_LIMITS_H -#include -#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 -- cgit v1.2.1