Browse Source

from higuy: "PATH_MAX is defined there on macos"

AzaezelX 3 năm trước cách đây
mục cha
commit
4ae7d7ce3f
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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. */