소스 검색

from higuy: "PATH_MAX is defined there on macos"

AzaezelX 3 년 전
부모
커밋
4ae7d7ce3f
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      Engine/source/platformPOSIX/POSIXFileio.cpp

+ 3 - 0
Engine/source/platformPOSIX/POSIXFileio.cpp

@@ -46,6 +46,9 @@
 #if defined(__FreeBSD__)
 #include <sys/types.h>
 #endif
+#if defined(__APPLE__)
+#include <sys/syslimits.h>
+#endif
 #include <utime.h>
 
 /* these are for reading directors, getting stats, etc. */