commit | b6d29b7856d25e382a024139d6599962c02b404b | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Jul 13 14:31:51 2002 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Jul 13 14:31:51 2002 +0000 |
tree | 26384c2ad591e5651bcc7b4457e027c6b90d9c5c | |
parent | a4b4c3bf0533a92a8cd7e45e667b95980f1f0c96 [diff] [blame] |
Undef MIN and MAX before defining them, to avoid warnings on certain platforms.
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 @@ /* 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))