mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +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(path) SetCurrentDirectoryA(path)
|
||||||
#define CHDIR_SUCCEEDED(ret) (ret == TRUE)
|
#define CHDIR_SUCCEEDED(ret) (ret == TRUE)
|
||||||
|
|
||||||
#elif __linux__
|
#elif __linux__ || __APPLE__
|
||||||
|
|
||||||
#define GETCWD(path, len) getcwd(path, len)
|
#define GETCWD(path, len) getcwd(path, len)
|
||||||
#define GETCWD_SUCCEEDED(ret) (ret != NULL)
|
#define GETCWD_SUCCEEDED(ret) (ret != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user