fix windows compile

This commit is contained in:
Alug committed 2025-08-26 10:42:26 +02:00
1 parent 1e7a9c8000
commit 417a3a6d92
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
/*
** ==================================================================