mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue