Mercurial > cpython-lru_cache-weakref
diff Parser/node.c @ 14391:1fd64b3af760 legacy-trunk
Move down the INT_MAX logic, because HAVE_LIMITS_H was always undefined
and this breaks the AIX build with an INT_MAX redefinition error.
"config.h" is included in pgenheaders.h, so moving this down fixes the
problem.
| author | Vladimir Marangozov <vladimir.marangozov@t-online.de> |
|---|---|
| date | Sun, 03 Sep 2000 23:47:08 +0000 |
| parents | 6f6f965c5e2d |
| children | fb6b51033c3b |
line wrap: on
line diff
--- a/Parser/node.c Sun Sep 03 17:12:50 2000 +0000 +++ b/Parser/node.c Sun Sep 03 23:47:08 2000 +0000 @@ -1,3 +1,9 @@ + +/* Parse tree node implementation */ + +#include "pgenheaders.h" +#include "node.h" +#include "errcode.h" #ifdef HAVE_LIMITS_H #include <limits.h> @@ -6,12 +12,6 @@ #define INT_MAX 2147483647 #endif -/* Parse tree node implementation */ - -#include "pgenheaders.h" -#include "node.h" -#include "errcode.h" - node * PyNode_New(int type) {
