From: Neal Norwitz Date: Wed, 18 Dec 2002 23:33:35 +0000 (+0000) Subject: Undefine MIN and MAX before defining X-Git-Tag: v2.3c1~2960 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91787cb4b3a0fcaaca7216154a209fd0bff4bd32;p=python Undefine MIN and MAX before defining Some systems (HPUX at least) already define MIN/MAX for us --- diff --git a/Objects/frameobject.c b/Objects/frameobject.c index b7b30214df..b9a481224f 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))