From 9df5bd313b12d01336df52102be243bfb45ca986 Mon Sep 17 00:00:00 2001 From: bernie Date: Sun, 18 Jul 2004 21:54:53 +0000 Subject: [PATCH] Fix preprocessor warning with potentially undefined symbol. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@52 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/timer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drv/timer.c b/drv/timer.c index a941f355..b123f1b9 100755 --- a/drv/timer.c +++ b/drv/timer.c @@ -15,6 +15,9 @@ /* * $Log$ + * Revision 1.7 2004/07/18 21:54:53 bernie + * Fix preprocessor warning with potentially undefined symbol. + * * Revision 1.6 2004/06/07 18:10:06 aleph * Remove free pool of timers; use user-provided Timer structure instead * @@ -43,7 +46,7 @@ #include #endif -#if (ARCH & ARCH_EMUL) +#if defined(ARCH_EMUL) && (ARCH & ARCH_EMUL) #error To be recoded #elif defined(__AVR__) #include "timer_avr.h" -- 2.25.1