X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_lwip.h;h=c9aa49f442c6a75ed757b04480781b0c73bb7f1a;hb=a3ffb42b8a665abcbc54d8cfd290c368ab5f083c;hp=4f9fd63cd3505bbbf65529692747b18b1df62a89;hpb=e9f0eb70636866ce7e743a3d560f270717a1151c;p=bertos.git diff --git a/bertos/cfg/cfg_lwip.h b/bertos/cfg/cfg_lwip.h index 4f9fd63c..c9aa49f4 100644 --- a/bertos/cfg/cfg_lwip.h +++ b/bertos/cfg/cfg_lwip.h @@ -357,11 +357,11 @@ --------------------------------- */ /** - * Enable ARP functionality. - * - * $WIZ$ type = "boolean" + * LWIP_ARP==1: Enable ARP functionality. */ +#ifndef LWIP_ARP #define LWIP_ARP 1 +#endif /** * ARP_TABLE_SIZE: Number of active MAC-IP address pairs cached. @@ -1211,11 +1211,13 @@ #endif /** - * Enable POSIX-style sockets functions names. - * - * $WIZ$ type = "boolean" + * 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). (only used if you use sockets.c) */ -#define LWIP_POSIX_SOCKETS_IO_NAMES 1 +#ifndef LWIP_POSIX_SOCKETS_IO_NAMES +#define LWIP_POSIX_SOCKETS_IO_NAMES 0 +#endif /** * LWIP_TCP_KEEPALIVE==1: Enable TCP_KEEPIDLE, TCP_KEEPINTVL and TCP_KEEPCNT