From 58e64a82eeec12711a55349f86ced990989a360b Mon Sep 17 00:00:00 2001 From: Vladimir Marangozov Date: Sun, 3 Sep 2000 23:47:08 +0000 Subject: [PATCH] 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. --- Parser/node.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Parser/node.c b/Parser/node.c index 277520a68ca..25edc8bed08 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) {