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.
This commit is contained in:
parent
1d62f492b0
commit
58e64a82ee
|
@ -1,4 +1,10 @@
|
||||||
|
|
||||||
|
/* Parse tree node implementation */
|
||||||
|
|
||||||
|
#include "pgenheaders.h"
|
||||||
|
#include "node.h"
|
||||||
|
#include "errcode.h"
|
||||||
|
|
||||||
#ifdef HAVE_LIMITS_H
|
#ifdef HAVE_LIMITS_H
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -6,12 +12,6 @@
|
||||||
#define INT_MAX 2147483647
|
#define INT_MAX 2147483647
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Parse tree node implementation */
|
|
||||||
|
|
||||||
#include "pgenheaders.h"
|
|
||||||
#include "node.h"
|
|
||||||
#include "errcode.h"
|
|
||||||
|
|
||||||
node *
|
node *
|
||||||
PyNode_New(int type)
|
PyNode_New(int type)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue