shithub: duke3d

Download patch

ref: d182802918212ac1ef16596a7baf15a8623f02c6
parent: 1708377090ab43b7055b3cd4c4d2d002b68d00b2
author: Tanguy Fautre <[email protected]>
date: Sat Feb 22 21:01:16 EST 2020

More MacOS X conditional bs.

--- a/Game/src/rts.c
+++ b/Game/src/rts.c
@@ -24,7 +24,10 @@
 */
 //-------------------------------------------------------------------------
 
-#include <malloc.h>
+#if !__APPLE__
+	#include <malloc.h>
+#endif
+
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>