mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-04 13:49:52 +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.
|
definition of it, or include a file which defines it.
|
||||||
|
|
||||||
This file must either include a system-local <errno.h> which defines
|
This file must either include a system-local <errno.h> which defines
|
||||||
the standard *nix error codes, or it should #define LWIP_PROVIDE_ERRNO
|
the standard *nix error codes (or define LWIP_ERRNO_INCLUDE to that file name),
|
||||||
to make lwip/arch.h define the codes which are used throughout.
|
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.
|
perf.h - Architecture specific performance measurement.
|
||||||
|
@ -1751,7 +1751,9 @@
|
|||||||
#define LWIP_SOCKET_SET_ERRNO 1
|
#define LWIP_SOCKET_SET_ERRNO 1
|
||||||
#endif
|
#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__
|
#if !defined LWIP_PROVIDE_ERRNO || defined __DOXYGEN__
|
||||||
#define LWIP_PROVIDE_ERRNO 0
|
#define LWIP_PROVIDE_ERRNO 0
|
||||||
|
Loading…
Reference in New Issue
Block a user