physfs_internal.h
branchstable-1.0
changeset 904 3c0531ffd64b
parent 902 a1bb05972265
child 1179 eea580b4e199
--- a/physfs_internal.h	Thu Jul 12 08:58:09 2007 +0000
+++ b/physfs_internal.h	Thu Jul 12 10:37:56 2007 +0000
@@ -22,8 +22,8 @@
 #define assert(x)
 #endif
 
-#ifdef __MINGW32__
-#include <alloca.h>
+#if defined(_MSC_VER) || defined(__MINGW32__)
+#include <malloc.h>
 #endif
 
 #ifdef __cplusplus