Fixed build for coldfire after last debug.h and opt.h changes.

This commit is contained in:
davidhaas 2003-02-25 21:46:04 +00:00
parent 0ba9a45d32
commit ee2c049518
2 changed files with 3 additions and 15 deletions

View File

@ -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

View File

@ -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