From cfb7dac873e3edf870ff05b09234203458669b00 Mon Sep 17 00:00:00 2001 From: taynpg Date: Sat, 29 Jun 2024 10:23:09 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E4=BF=AE=E6=AD=A3=E6=97=A0PATH=5FM?= =?UTF-8?q?AX=E5=AE=9A=E4=B9=89=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pub.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pub.cpp b/src/pub.cpp index 16994d5..3206e0d 100644 --- a/src/pub.cpp +++ b/src/pub.cpp @@ -10,6 +10,10 @@ #include #endif +#ifndef PATH_MAX +#define PATH_MAX 256 +#endif + namespace fs = std::filesystem; CUtil::CUtil() = default;