MACLib: Only define min & max if we are on GCC2.
Otherwise they will be pulled in from <algorithm>.
This commit is contained in:
@@ -38,8 +38,11 @@ typedef long LRESULT;
|
||||
typedef unsigned char UCHAR;
|
||||
|
||||
#define ZeroMemory(POINTER, BYTES) memset(POINTER, 0, BYTES);
|
||||
|
||||
#if __GNUC__ == 2
|
||||
#define max(a,b) (((a) > (b)) ? (a) : (b))
|
||||
#define min(a,b) (((a) < (b)) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
//#define __stdcall
|
||||
#define CALLBACK
|
||||
|
||||
Reference in New Issue
Block a user