mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
Compare commits
3 Commits
a459b21dfa
...
a9147bb332
Author | SHA1 | Date | |
---|---|---|---|
|
a9147bb332 | ||
|
86c9f79991 | ||
|
8e1a247c1f |
@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#if defined(LWIP_UNIX_OPENBSD)
|
#if defined(LWIP_UNIX_OPENBSD) || defined(LWIP_UNIX_MACH)
|
||||||
#include <util.h>
|
#include <util.h>
|
||||||
#endif
|
#endif
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
|
@ -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