Przeglądaj źródła

Merge pull request #972 from vowstar/fix_redefine_efault

Fix redefine error on some other version build environment.
Arnim Läuger 8 lat temu
rodzic
commit
995f77d547
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      app/include/arch/cc.h

+ 3 - 0
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