Procházet zdrojové kódy

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

Ryan C. Gordon před 8 roky
rodič
revize
58bca6ae05
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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