mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Undef MIN and MAX before defining them, to avoid warnings on certain
platforms.
This commit is contained in:
parent
a4b4c3bf05
commit
b6d29b7856
1 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue