From: Vladimir Marangozov Date: Sun, 3 Sep 2000 23:47:08 +0000 (+0000) Subject: Move down the INT_MAX logic, because HAVE_LIMITS_H was always undefined X-Git-Tag: v2.0b1~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58e64a82eeec12711a55349f86ced990989a360b;p=python 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. --- diff --git a/Parser/node.c b/Parser/node.c index 277520a68c..25edc8bed0 100644 --- a/Parser/node.c +++ b/Parser/node.c @@ -1,4 +1,10 @@ +/* Parse tree node implementation */ + +#include "pgenheaders.h" +#include "node.h" +#include "errcode.h" + #ifdef HAVE_LIMITS_H #include #endif @@ -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) {