Jelajahi Sumber

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

Ryan C. Gordon 8 tahun lalu
induk
melakukan
58bca6ae05
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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