diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index 59c1754c..8227a529 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -49,18 +49,6 @@ #define SYS_LIGHTWEIGHT_PROT 0 #endif -#ifndef SYS_ARCH_DECL_PROTECT -#define SYS_ARCH_DECL_PROTECT(lock) -#endif - -#ifndef SYS_ARCH_PROTECT -#define SYS_ARCH_PROTECT(lock) -#endif - -#ifndef SYS_ARCH_UNPROTECT -#define SYS_ARCH_UNPROTECT(lock) -#endif - #ifndef NO_SYS #define NO_SYS 0 #endif @@ -298,7 +286,7 @@ a lot of data that needs to be copied, this should be set high. */ #endif #ifndef LWIP_COMPAT_SOCKETS -#define LWIP_COMPAT_SOCKETS 1 +#define LWIP_COMPAT_SOCKETS 1 #endif /* ---------- Statistics options ---------- */ @@ -319,7 +307,7 @@ a lot of data that needs to be copied, this should be set high. */ /* Debugging options all default to off */ #ifndef DEMO_DEBUG -#define DEMO_DEBUG DBG_OFF +#define DEMO_DEBUG DBG_OFF #endif #ifndef ETHARP_DEBUG diff --git a/src/include/lwip/sys.h b/src/include/lwip/sys.h index 753fcadc..794f38f5 100644 --- a/src/include/lwip/sys.h +++ b/src/include/lwip/sys.h @@ -122,7 +122,7 @@ void sys_mbox_fetch(sys_mbox_t mbox, void **msg); * for certain critical regions during buffer allocation, deallocation and memory * allocation and deallocation. */ -#ifdef SYS_LIGHTWEIGHT_PROT +#if SYS_LIGHTWEIGHT_PROT /** SYS_ARCH_DECL_PROTECT * declare a protection variable. This macro will default to defining a variable of