projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update preset.
[bertos.git]
/
boards
/
arduino-mega
/
benchmark
/
arduino-mega_context_switch
/
cfg
/
cfg_lwip.h
diff --git
a/boards/arduino-mega/benchmark/arduino-mega_context_switch/cfg/cfg_lwip.h
b/boards/arduino-mega/benchmark/arduino-mega_context_switch/cfg/cfg_lwip.h
index b6b55f65269d3df5bcc07c6073240abbb54a1d7c..73acb913534f4b4c33be90e72e0a8d99ea43e2db 100644
(file)
--- a/
boards/arduino-mega/benchmark/arduino-mega_context_switch/cfg/cfg_lwip.h
+++ b/
boards/arduino-mega/benchmark/arduino-mega_context_switch/cfg/cfg_lwip.h
@@
-1206,6
+1206,13
@@
* $WIZ$ type = "boolean"
*/
#define LWIP_SOCKET 1
+#if LWIP_SOCKET
+ /*
+ * The sockets.c file requires this macro to be defined to really
+ * set errno on errors.
+ */
+ #define ERRNO
+#endif
/**
* Enable BSD-style sockets functions names.