Added #if !NO_SYS to most of the api files since they only work with a sys layer (makes it easier for port projects).
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
#include "lwip/inet.h"
|
||||
#include "lwip/tcp.h"
|
||||
|
||||
#if !NO_SYS
|
||||
|
||||
#define NUM_SOCKETS MEMP_NUM_NETCONN
|
||||
|
||||
struct lwip_socket {
|
||||
@@ -1432,3 +1434,4 @@ int lwip_ioctl(int s, long cmd, void *argp)
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* !NO_SYS */
|
||||
|
||||
Reference in New Issue
Block a user