diff options
author | Guido van Rossum <guido@python.org> | 2002-07-13 14:31:51 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-07-13 14:31:51 (GMT) |
commit | b6d29b7856d25e382a024139d6599962c02b404b (patch) | |
tree | 26384c2ad591e5651bcc7b4457e027c6b90d9c5c /Objects | |
parent | a4b4c3bf0533a92a8cd7e45e667b95980f1f0c96 (diff) | |
download | cpython-b6d29b7856d25e382a024139d6599962c02b404b.zip cpython-b6d29b7856d25e382a024139d6599962c02b404b.tar.gz cpython-b6d29b7856d25e382a024139d6599962c02b404b.tar.bz2 |
Undef MIN and MAX before defining them, to avoid warnings on certain
platforms.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/longobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
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)) |