From: Guido van Rossum Date: Sat, 13 Jul 2002 14:31:51 +0000 (+0000) Subject: Undef MIN and MAX before defining them, to avoid warnings on certain X-Git-Tag: v2.3c1~5013 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6d29b7856d25e382a024139d6599962c02b404b;p=python Undef MIN and MAX before defining them, to avoid warnings on certain platforms. --- diff --git a/Objects/longobject.c b/Objects/longobject.c index 89fc8b4391..7f94a622ff 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -2003,6 +2003,8 @@ lshift_error: /* Bitwise and/xor/or operations */ +#undef MIN +#undef MAX #define MAX(x, y) ((x) < (y) ? (y) : (x)) #define MIN(x, y) ((x) > (y) ? (y) : (x))