Undefine MIN and MAX before defining

Some systems (HPUX at least) already define MIN/MAX for us
This commit is contained in:
Neal Norwitz 2002-12-18 23:33:35 +00:00
parent 8feeabb975
commit 91787cb4b3
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@
#include "opcode.h" #include "opcode.h"
#include "structmember.h" #include "structmember.h"
#undef MIN
#undef MAX
#define MIN(a, b) ((a) < (b) ? (a) : (b)) #define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b)) #define MAX(a, b) ((a) > (b) ? (a) : (b))