From: bernie Date: Sun, 18 Jul 2004 21:54:53 +0000 (+0000) Subject: Fix preprocessor warning with potentially undefined symbol. X-Git-Tag: 1.0.0~1189 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=9df5bd313b12d01336df52102be243bfb45ca986;p=bertos.git Fix preprocessor warning with potentially undefined symbol. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@52 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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"