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:
goldsimon
2007-05-18 11:27:46 +00:00
parent 4192df97ec
commit 8fa3b6802e
4 changed files with 12 additions and 0 deletions

View File

@@ -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 */