fix windows compile
This commit is contained in:
1 parent
1e7a9c8000
commit
417a3a6d92
1 file changed
+8
-1
+8
-1
@@ -18,7 +18,14 @@
|
||||
#define INT32 int32_t
|
||||
#endif
|
||||
|
||||
#include "../doomdef.h"
|
||||
#ifndef __cplusplus
|
||||
#ifndef min // Double-Check with WATTCP-32's cdefs.h
|
||||
#define min(x, y) (((x) < (y)) ? (x) : (y))
|
||||
#endif
|
||||
#ifndef max // Double-Check with WATTCP-32's cdefs.h
|
||||
#define max(x, y) (((x) > (y)) ? (x) : (y))
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
** ==================================================================
|
||||
|
||||
Reference in new issue
Block a user