Pārlūkot izejas kodu

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

Ryan C. Gordon 9 gadi atpakaļ
vecāks
revīzija
58bca6ae05
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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