Explorar o código

Include alloca.h on Solaris and Linux platforms.

Matthew Albrecht %!s(int64=4) %!d(string=hai) anos
pai
achega
d24ce15922
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/physfs_internal.h

+ 1 - 1
src/physfs_internal.h

@@ -38,7 +38,7 @@
 #include <malloc.h>
 #endif
 
-#ifdef PHYSFS_PLATFORM_SOLARIS
+#if defined(PHYSFS_PLATFORM_SOLARIS) || defined(PHYSFS_PLATFORM_LINUX)
 #include <alloca.h>
 #endif