mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-16 14:11:02 +00:00
Compare commits
3 Commits
68f39e8d7e
...
787090936a
Author | SHA1 | Date | |
---|---|---|---|
|
787090936a | ||
|
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