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

Watcom C should include malloc.h to make the alloca macro available.

Ryan C. Gordon 8 лет назад
Родитель
Сommit
58bca6ae05
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/physfs_internal.h

+ 1 - 1
src/physfs_internal.h

@@ -26,7 +26,7 @@
 #include <assert.h>
 
 /* !!! FIXME: remove this when revamping stack allocation code... */
-#if defined(_MSC_VER) || defined(__MINGW32__)
+#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__WATCOMC__)
 #include <malloc.h>
 #endif