From cf17ed5529c2c92e2a76762e0fa765eb3997ac93 Mon Sep 17 00:00:00 2001 From: jeans Date: Sat, 27 Apr 2024 01:07:07 -0600 Subject: [PATCH] refactor: added apple macro for fs handling --- src/apps/http/makefsdata/makefsdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/http/makefsdata/makefsdata.c b/src/apps/http/makefsdata/makefsdata.c index c325ee863..62d77a328 100644 --- a/src/apps/http/makefsdata/makefsdata.c +++ b/src/apps/http/makefsdata/makefsdata.c @@ -77,7 +77,7 @@ static int deflate_level; /* default compression level, can be changed via comma #define CHDIR(path) SetCurrentDirectoryA(path) #define CHDIR_SUCCEEDED(ret) (ret == TRUE) -#elif __linux__ +#elif __linux__ || __APPLE__ #define GETCWD(path, len) getcwd(path, len) #define GETCWD_SUCCEEDED(ret) (ret != NULL)