mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 09:16:20 +00:00
Clarify/add LWIP_PROVIDE_ERRNO comments
This commit is contained in:
parent
2685d742e8
commit
48d2243845
@ -282,8 +282,9 @@ cc.h - Architecture environment, some compiler specific, some
|
||||
definition of it, or include a file which defines it.
|
||||
|
||||
This file must either include a system-local <errno.h> which defines
|
||||
the standard *nix error codes, or it should #define LWIP_PROVIDE_ERRNO
|
||||
to make lwip/arch.h define the codes which are used throughout.
|
||||
the standard *nix error codes (or define LWIP_ERRNO_INCLUDE to that file name),
|
||||
or it should #define LWIP_PROVIDE_ERRNO to make lwip/arch.h define the codes
|
||||
which are used throughout.
|
||||
|
||||
|
||||
perf.h - Architecture specific performance measurement.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user