Skip to content

Commit

Permalink
refactor: added apple macro for fs handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jeans authored and yarrick committed May 14, 2024
1 parent 8e1a247 commit 86c9f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/http/makefsdata/makefsdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 86c9f79

Please sign in to comment.