Commit 0623c66a authored by Ulrich Huber's avatar Ulrich Huber Committed by Oliver Horst
Browse files

[fix] Fix renaming of syscalls of lwIP

parent 23a254eb
......@@ -38,8 +38,24 @@
* LWIP_POSIX_SOCKETS_IO_NAMES==1: Enable POSIX-style sockets functions names.
* Disable this option if you use a POSIX operating system that uses the same
* names (read, write & close).
* As we use newlib we can not enable this. Instead we rename within the syscall
* table or wrap the methods via newlib - whatever fits best.
*/
#define LWIP_POSIX_SOCKETS_IO_NAMES 1
#define LWIP_POSIX_SOCKETS_IO_NAMES 0
/**
* LWIP_SOCKET_SELECT==1 (default): enable select() for sockets (uses a netconn
* callback to keep track of events).
* This saves RAM (counters per socket) and code (netconn event callback), which
* should improve performance a bit).
*/
#define LWIP_SOCKET_SELECT 1
/**
* LWIP_SOCKET_POLL==1 (default): enable poll() for sockets (including
* struct pollfd, nfds_t, and constants)
*/
#define LWIP_SOCKET_POLL 1
/**
* If LWIP_PROVIDE_ERRNO is undefined, sockets.c will utilize <errno.h>
......
......@@ -36,9 +36,25 @@
* LWIP_POSIX_SOCKETS_IO_NAMES==1: Enable POSIX-style sockets functions names.
* Disable this option if you use a POSIX operating system that uses the same
* names (read, write & close).
* As we use newlib we can not enable this. Instead we rename within the syscall
* table or wrap the methods via newlib - whatever fits best.
*/
#define LWIP_POSIX_SOCKETS_IO_NAMES 0
/**
* LWIP_SOCKET_SELECT==1 (default): enable select() for sockets (uses a netconn
* callback to keep track of events).
* This saves RAM (counters per socket) and code (netconn event callback), which
* should improve performance a bit).
*/
#define LWIP_SOCKET_SELECT 1
/**
* LWIP_SOCKET_POLL==1 (default): enable poll() for sockets (including
* struct pollfd, nfds_t, and constants)
*/
#define LWIP_SOCKET_POLL 1
/**
* If LWIP_PROVIDE_ERRNO is undefined, sockets.c will utilize <errno.h>
* included by the platform. If LWIP_PROVIDE_ERRNO is set to 1, "lwip/arch.h"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment