浏览代码

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. */