mirror of https://github.com/python/cpython.git
Undefine MIN and MAX before defining
Some systems (HPUX at least) already define MIN/MAX for us
This commit is contained in:
parent
8feeabb975
commit
91787cb4b3
|
@ -8,6 +8,8 @@
|
|||
#include "opcode.h"
|
||||
#include "structmember.h"
|
||||
|
||||
#undef MIN
|
||||
#undef MAX
|
||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
|
|
Loading…
Reference in New Issue