Просмотр исходного кода

Whoops, it's malloc.h, not alloca.h ...

Ryan C. Gordon 18 лет назад
Родитель
Сommit
a8842c9713
1 измененных файлов с 1 добавлено и 5 удалено
  1. 1 5
      physfs_internal.h

+ 1 - 5
physfs_internal.h

@@ -25,14 +25,10 @@
 #endif
 
 /* !!! FIXME: remove this when revamping stack allocation code... */
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(__MINGW32__)
 #include <malloc.h>
 #endif
 
-#ifdef __MINGW32__
-#include <alloca.h>
-#endif
-
 #ifdef __cplusplus
 extern "C" {
 #endif