소스 검색

Include alloca.h on Solaris and Linux platforms.

Matthew Albrecht 5 년 전
부모
커밋
99d0fef19e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/physfs_internal.h

+ 1 - 1
src/physfs_internal.h

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