Преглед изворни кода

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

Ryan C. Gordon пре 8 година
родитељ
комит
58bca6ae05
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/physfs_internal.h

+ 1 - 1
src/physfs_internal.h

@@ -26,7 +26,7 @@
 #include <assert.h>
 #include <assert.h>
 
 
 /* !!! FIXME: remove this when revamping stack allocation code... */
 /* !!! 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>
 #include <malloc.h>
 #endif
 #endif