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

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