* Remove most unused WIN32 stuff.
[matthijs/ABM2.git] / ABM2 / porting.h
index ef28a0d897350c8458749cd131dc92ac972916d0..dfa9a33621b9c164b13a6f1e71f79e41de5cba42 100644 (file)
@@ -9,6 +9,8 @@
 
        #define BYTE unsigned char
        #define DWORD unsigned int
+       #define max(a,b) (a>b?a:b)
+       #define min(a,b) (a<b?a:b)
 #endif // !WIN32
 
 #ifdef WITH_SDL