Fix preprocessor warning with potentially undefined symbol.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 18 Jul 2004 21:54:53 +0000 (21:54 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 18 Jul 2004 21:54:53 +0000 (21:54 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@52 38d2e660-2303-0410-9eaa-f027e97ec537

drv/timer.c

index a941f355db4b968b3dabc9d3741238b8711c108d..b123f1b9bcba62d03787b6a90ea3137607ddfcde 100755 (executable)
@@ -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 <kern/proc.h>
 #endif
 
-#if (ARCH & ARCH_EMUL)
+#if defined(ARCH_EMUL) && (ARCH & ARCH_EMUL)
        #error To be recoded
 #elif defined(__AVR__)
        #include "timer_avr.h"