[sys/errno.h] 修复lwip报错

This commit is contained in:
Meco Man
2021-05-22 03:20:01 +08:00
parent 0e0e2a0f95
commit b10bef6f24
4 changed files with 20 additions and 11 deletions

View File

@@ -37,10 +37,8 @@ defined in armcc/errno.h
#define ERROR_BASE_NO 0
#endif
#if !defined(_WIN32)
#if defined(__CC_ARM) || defined(__IAR_SYSTEMS_ICC__)
#include <errno.h>
#define EPERM (ERROR_BASE_NO + 1)
#define ENOENT (ERROR_BASE_NO + 2)
#define ESRCH (ERROR_BASE_NO + 3)