forked from espressif/esp-idf
components/lwip: use newlib errno
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#define __ARCH_CC_H__
|
||||
|
||||
#include <stdint.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "arch/sys_arch.h"
|
||||
|
||||
@@ -72,6 +73,4 @@ typedef int sys_prot_t;
|
||||
#define LWIP_NOASSERT
|
||||
//#define LWIP_ERROR
|
||||
|
||||
#define LWIP_PROVIDE_ERRNO
|
||||
|
||||
#endif /* __ARCH_CC_H__ */
|
||||
|
Reference in New Issue
Block a user