From b6d29b7856d25e382a024139d6599962c02b404b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 13 Jul 2002 14:31:51 +0000 Subject: Undef MIN and MAX before defining them, to avoid warnings on certain platforms. --- Objects/longobject.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Objects/longobject.c b/Objects/longobject.c index 89fc8b4..7f94a62 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)) -- cgit v0.12