From 86c9f7999150199374d7697fd2eed62dcd9b1afa 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 c325ee86..62d77a32 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)