X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=cpu.h;h=4715908b3d5666804b1a7209fb8f2f7a1ffdb41e;hb=c273ae81bac91c7eaaecb71482992803539dd0eb;hp=8d9ed1db923d00955f9aa9fc57bc1cfd26d2d57c;hpb=20e373712db1c78967b0491593fa139fc3ea0aad;p=bertos.git diff --git a/cpu.h b/cpu.h index 8d9ed1db..4715908b 100755 --- 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. * @@ -228,7 +231,7 @@ * 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);