Commit 3b4ecbec authored by Ulrich Huber's avatar Ulrich Huber
Browse files

[fix] Do NOT undef errno

parent 926cf416
......@@ -69,8 +69,7 @@
* Use newlib error codes so applications are not confused when comparing error
* codes.
*/
#undef errno
#define LWIP_ERRNO_INCLUDE <sys/errno.h>
#define LWIP_ERRNO_STDINCLUDE
/**
* LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided
......
......@@ -69,8 +69,7 @@
* Use newlib error codes so applications are not confused when comparing error
* codes.
*/
#undef errno
#define LWIP_ERRNO_INCLUDE <sys/errno.h>
#define LWIP_ERRNO_STDINCLUDE
/**
* LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided
......
......@@ -53,8 +53,7 @@
* Use newlib error codes so applications are not confused when comparing error
* codes.
*/
#undef errno
#define LWIP_ERRNO_INCLUDE <sys/errno.h>
#define LWIP_ERRNO_STDINCLUDE
/**
* LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided
......
......@@ -53,8 +53,7 @@
* Use newlib error codes so applications are not confused when comparing error
* codes.
*/
#undef errno
#define LWIP_ERRNO_INCLUDE <sys/errno.h>
#define LWIP_ERRNO_STDINCLUDE
/**
* LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided
......
......@@ -69,8 +69,7 @@
* Use newlib error codes so applications are not confused when comparing error
* codes.
*/
#undef errno
#define LWIP_ERRNO_INCLUDE <sys/errno.h>
#define LWIP_ERRNO_STDINCLUDE
/**
* LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided
......
......@@ -69,8 +69,7 @@
* Use newlib error codes so applications are not confused when comparing error
* codes.
*/
#undef errno
#define LWIP_ERRNO_INCLUDE <sys/errno.h>
#define LWIP_ERRNO_STDINCLUDE
/**
* LWIP_TIMEVAL_PRIVATE: if you want to use the struct timeval provided
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment