diff options
-rw-r--r-- | cutl/fs/path.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cutl/fs/path.cxx b/cutl/fs/path.cxx index 87b7f5f..b106ea0 100644 --- a/cutl/fs/path.cxx +++ b/cutl/fs/path.cxx @@ -11,6 +11,12 @@ # include <unistd.h> // getcwd, chdir #endif +#ifndef _WIN32 +# ifndef PATH_MAX +# define PATH_MAX 4096 +# endif +#endif + #include <cutl/fs/path.hxx> namespace cutl |