Sfoglia il codice sorgente

Patched to compile on Solaris.

Ryan C. Gordon 16 anni fa
parent
commit
1fe05388ad
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      src/physfs_internal.h

+ 4 - 0
src/physfs_internal.h

@@ -35,6 +35,10 @@
 #define __inline__ inline
 #endif
 
+#if defined(__sun) || defined(sun)
+#include <alloca.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif