Hello,

In arch.h there is a section:

#ifdef LWIP_PROVIDE_ERRNO
// errno codes
#endif /* LWIP_PROVIDE_ERRNO */

which defines unix errno codes used later in socket library. To switch it on lwipopts.h should have #define LWIP_PROVIDE_ERRNO. But it doesn't reference to anything else if CLIB already has its own errno which could cause compilation problems. I think this definition should be changed:

#ifdef LWIP_PROVIDE_ERRNO
// errno codes
#else
 #include <errno.h>
#endif /* LWIP_PROVIDE_ERRNO */

Regards, Dmitri


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to