lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] LWIP_PROVIDE_ERRNO


From: Goldschmidt Simon
Subject: [lwip-devel] LWIP_PROVIDE_ERRNO
Date: Thu, 22 Mar 2007 21:46:40 +0100

If LWIP_PROVIDE_ERRNO is set to 0, sockets.c will compile because it has <errno.h> (from platform) included. if LWIP_PROVIDE_ERRNO is set to 1, "lwip/arch.h" defines the same things as <errno.h> does. This results in many warnings (symbol already defined).

-> move #include <errno.h> from sockets.h to arch.h and include it only #ifndef LWIP_PROVIDE_ERRNO

Ok for everyone?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]