Fixes for compiling under msys2
[dosdemo] / src / treestor.c
index 91adfec..69853c8 100644 (file)
@@ -4,7 +4,7 @@
 #include <errno.h>
 #include "treestor.h"
 
-#if defined(__WATCOMC__) || defined(_MSC_VER) || defined(__DJGPP__)
+#if defined(__WATCOMC__) || defined(WIN32) || defined(__DJGPP__)
 #include <malloc.h>
 #else
 #include <alloca.h>