projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lwIP: disable LWIP_POSIX_SOCKETS_IO_NAMES
[bertos.git]
/
bertos
/
cfg
/
cfg_lwip.h
diff --git
a/bertos/cfg/cfg_lwip.h
b/bertos/cfg/cfg_lwip.h
index 7e3b40c96fbd19e8de169453b12a19f7380890e2..c9aa49f442c6a75ed757b04480781b0c73bb7f1a 100644
(file)
--- a/
bertos/cfg/cfg_lwip.h
+++ b/
bertos/cfg/cfg_lwip.h
@@
-1211,11
+1211,13
@@
#endif
/**
#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
/**
* LWIP_TCP_KEEPALIVE==1: Enable TCP_KEEPIDLE, TCP_KEEPINTVL and TCP_KEEPCNT