Browse Source

Include alloca.h on Solaris and Linux platforms.

Matthew Albrecht 4 năm trước cách đây
mục cha
commit
99d0fef19e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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