From 619141272061e8645c222e3fa1be9b2e9d5c1c3f Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Fri, 1 Mar 2024 12:01:43 +0100 Subject: [PATCH] Fix PATH_MAX define --- src/framework/file.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/framework/file.cpp b/src/framework/file.cpp index 251963d..f2f5b80 100644 --- a/src/framework/file.cpp +++ b/src/framework/file.cpp @@ -10,6 +10,9 @@ #include #include #include +#ifndef PATH_MAX +#define PATH_MAX 1024 +#endif #endif #ifdef WIN32