mac header fix for max filename length
authorFred T. Hamster <fred@gruntose.com>
Thu, 2 Jun 2022 10:56:16 +0000 (06:56 -0400)
committerFred T. Hamster <fred@gruntose.com>
Thu, 2 Jun 2022 10:56:16 +0000 (06:56 -0400)
nucleus/library/filesystem/filename.h

index ffbde48e67c18af09de92f70c19b3594c79922f7..c4820ed75c66b3b77298519569f4584f04da6598 100644 (file)
@@ -29,6 +29,11 @@ class status_info;
   #ifdef __WIN32__
     #define MAX_ABS_PATH MAX_PATH
   #else
+    #ifdef __APPLE__
+      #include <sys/syslimits.h>
+    #else
+      #include <limits.h>
+    #endif
     #define MAX_ABS_PATH PATH_MAX
   #endif
 /*