aboutsummaryrefslogtreecommitdiff
path: root/butl/path.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'butl/path.cxx')
-rw-r--r--butl/path.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/butl/path.cxx b/butl/path.cxx
index 2150cce..5b68749 100644
--- a/butl/path.cxx
+++ b/butl/path.cxx
@@ -16,6 +16,12 @@
#include <system_error>
+#ifndef _WIN32
+# ifndef PATH_MAX
+# define PATH_MAX 4096
+# endif
+#endif
+
using namespace std;
namespace butl