summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorVladimir Marangozov <vladimir.marangozov@t-online.de>2000-09-03 23:47:08 (GMT)
committerVladimir Marangozov <vladimir.marangozov@t-online.de>2000-09-03 23:47:08 (GMT)
commit58e64a82eeec12711a55349f86ced990989a360b (patch)
treee218438d3ee194af610e269dc11fd619e7cafc4b /Parser
parent1d62f492b0dd336db16f2893671695544136b7b5 (diff)
downloadcpython-58e64a82eeec12711a55349f86ced990989a360b.zip
cpython-58e64a82eeec12711a55349f86ced990989a360b.tar.gz
cpython-58e64a82eeec12711a55349f86ced990989a360b.tar.bz2
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.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/node.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Parser/node.c b/Parser/node.c
index 277520a..25edc8b 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 <limits.h>
#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)
{