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 committed Apr 27, 2024
1 parent 0d0b529 commit cf17ed5
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 cf17ed5

Please sign in to comment.