mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
components/lwip: use newlib errno
This commit is contained in:
parent
bae976ae0e
commit
23cc3c0f90
@ -35,6 +35,7 @@
|
|||||||
#define __ARCH_CC_H__
|
#define __ARCH_CC_H__
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <errno.h>
|
||||||
|
|
||||||
#include "arch/sys_arch.h"
|
#include "arch/sys_arch.h"
|
||||||
|
|
||||||
@ -72,6 +73,4 @@ typedef int sys_prot_t;
|
|||||||
#define LWIP_NOASSERT
|
#define LWIP_NOASSERT
|
||||||
//#define LWIP_ERROR
|
//#define LWIP_ERROR
|
||||||
|
|
||||||
#define LWIP_PROVIDE_ERRNO
|
|
||||||
|
|
||||||
#endif /* __ARCH_CC_H__ */
|
#endif /* __ARCH_CC_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user