Clarify/add LWIP_PROVIDE_ERRNO comments

This commit is contained in:
goldsimon
2017-01-31 12:38:53 +01:00
parent 2685d742e8
commit 48d2243845
2 changed files with 6 additions and 3 deletions

View File

@@ -1751,7 +1751,9 @@
#define LWIP_SOCKET_SET_ERRNO 1
#endif
/** LWIP_PROVIDE_ERRNO==1: Let lwIP provide ERRNO values.
/** LWIP_PROVIDE_ERRNO==1: Let lwIP provide ERRNO values and the 'errno' variable.
* If this is disabled, cc.h must either define 'errno', include <errno.h> or
* define LWIP_ERRNO_INCLUDE to <errno.h> or equivalent.
*/
#if !defined LWIP_PROVIDE_ERRNO || defined __DOXYGEN__
#define LWIP_PROVIDE_ERRNO 0