mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00:00
refactor: added apple macro for fs handling
This commit is contained in:
parent
8e1a247c1f
commit
86c9f79991
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user