summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-12-18 23:33:35 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-12-18 23:33:35 (GMT)
commit91787cb4b3a0fcaaca7216154a209fd0bff4bd32 (patch)
tree22dde1b804d657f63270b89d5653817c8fc5f18e /Objects
parent8feeabb975f416a8cc8bc44d466982da44cf0f54 (diff)
downloadcpython-91787cb4b3a0fcaaca7216154a209fd0bff4bd32.zip
cpython-91787cb4b3a0fcaaca7216154a209fd0bff4bd32.tar.gz
cpython-91787cb4b3a0fcaaca7216154a209fd0bff4bd32.tar.bz2
Undefine MIN and MAX before defining
Some systems (HPUX at least) already define MIN/MAX for us
Diffstat (limited to 'Objects')
-rw-r--r--Objects/frameobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/frameobject.c b/Objects/frameobject.c
index b7b3021..b9a4812 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -8,6 +8,8 @@
#include "opcode.h"
#include "structmember.h"
+#undef MIN
+#undef MAX
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))