Fix two errors introduced by previous commit.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 20 Jul 2004 23:26:48 +0000 (23:26 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 20 Jul 2004 23:26:48 +0000 (23:26 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@68 38d2e660-2303-0410-9eaa-f027e97ec537

compiler.h
cpu.h

index 7b09e1fd25aacfe3dc91fa7262d5d07f7ac1be61..9496481d0bdea5bd81d9a3716086f8c2e738c141 100755 (executable)
 
 /*
  * $Log$
+ * Revision 1.7  2004/07/20 23:26:48  bernie
+ * Fix two errors introduced by previous commit.
+ *
  * Revision 1.6  2004/07/20 23:12:43  bernie
- * Reverse the logic to provide defaults for undefined macros.
+ * *** empty log message ***
  *
  * Revision 1.5  2004/07/20 17:08:03  bernie
  * Cleanup documentation
 #ifndef FORMAT
 #define FORMAT(type,fmt,first) /* nothing */
 #endif
-#ifndef
+#ifndef DEPRECATED
 #define DEPRECATED             /* nothing */
 #endif
-#ifndef
+#ifndef UNUSED
 #define UNUSED(type,arg)       type arg
 #endif
 #ifndef REGISTER
diff --git a/cpu.h b/cpu.h
index 8d9ed1db923d00955f9aa9fc57bc1cfd26d2d57c..4715908b3d5666804b1a7209fb8f2f7a1ffdb41e 100755 (executable)
--- a/cpu.h
+++ b/cpu.h
@@ -17,6 +17,9 @@
 
 /*
  * $Log$
+ * Revision 1.7  2004/07/20 23:26:48  bernie
+ * Fix two errors introduced by previous commit.
+ *
  * Revision 1.6  2004/07/20 23:12:16  bernie
  * Rationalize and document SCHEDULER_IDLE.
  *
  * in hosted environments such as emulators.
  */
 #ifndef SCHEDULER_IDLE
-       #if (ARCH & ARCH_EMUL)
+       #if defined(ARCH_EMUL) && (ARCH & ARCH_EMUL)
                /* This emulator hook should yeld the CPU to the host.  */
                EXTERN_C_BEGIN
                void SchedulerIdle(void);