From 5e2eb3588cf307a75cf2fee745736c44ced37ee7 Mon Sep 17 00:00:00 2001 From: Huang Rui Date: Mon, 25 Jan 2016 03:06:18 +0800 Subject: [PATCH] Fix redefine bug on some other version SDK(such as espressif's lubuntu environment) Signed-off-by: Huang Rui --- app/include/arch/cc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/include/arch/cc.h b/app/include/arch/cc.h index ff03b307..48da48a8 100644 --- a/app/include/arch/cc.h +++ b/app/include/arch/cc.h @@ -38,7 +38,10 @@ #include "c_types.h" #include "ets_sys.h" #include "osapi.h" + +#ifndef EFAULT #define EFAULT 14 +#endif //#define LWIP_PROVIDE_ERRNO