mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-03-12 22:14:25 +00:00
Revert fixes "bug #50162: Minor bug in errno.h"
They are a breaking change :-( This reverts commit abef0b44a86eef173c8f32bea3d4966c02371b87.
This commit is contained in:
parent
e8d5499d72
commit
29b7c75a72
@ -43,7 +43,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if LWIP_PROVIDE_ERRNO
|
||||
#ifdef LWIP_PROVIDE_ERRNO
|
||||
|
||||
#define EPERM 1 /* Operation not permitted */
|
||||
#define ENOENT 2 /* No such file or directory */
|
||||
|
@ -1751,14 +1751,6 @@
|
||||
#define LWIP_SOCKET_SET_ERRNO 1
|
||||
#endif
|
||||
|
||||
/** 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
|
||||
#endif
|
||||
|
||||
/**
|
||||
* LWIP_COMPAT_SOCKETS==1: Enable BSD-style sockets functions names through defines.
|
||||
* LWIP_COMPAT_SOCKETS==2: Same as ==1 but correctly named functions are created.
|
||||
|
Loading…
x
Reference in New Issue
Block a user