MACLib: Only define min & max if we are on GCC2.

Otherwise they will be pulled in from <algorithm>.
This commit is contained in:
Augustin Cavalier
2021-12-07 22:19:31 -05:00
parent 36a1e12f21
commit f207629e04
@@ -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