fix windows compile

This commit is contained in:
Alug committed 2025-08-26 08:24:51 +01:00
1 parent 05364cc4dc
commit e3a79ab099
1 file changed
+8 -1
+8 -1
View File
@@ -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
/*
** ==================================================================