diff options
Diffstat (limited to 'includes/generic.h')
-rw-r--r-- | includes/generic.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/includes/generic.h b/includes/generic.h index 9c5b7a4..5586953 100644 --- a/includes/generic.h +++ b/includes/generic.h @@ -33,8 +33,13 @@ #define bcopy(x,y,z) memcpy((y),(x),(z)) #endif +#ifndef MAX #define MIN(a,b) ((a)<(b)?(a):(b)) +#endif + +#ifndef MAX #define MAX(a,b) ((a)<(b)?(b):(a) +#endif #ifndef SDL_VERSIONNUM typedef unsigned long int Uint32; |