X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fos.h;h=36e11eb5e9d4d85bbb5998955bf021f74d7ad6c6;hb=ed5ab8253db569e0ed85a35cc9beff02a2d204bc;hp=2089cc4fc1e977b69333b09ce7214a9d1339d12f;hpb=32d1445272120a254d77ce8d1af1f527da7a2c17;p=bertos.git diff --git a/bertos/cfg/os.h b/bertos/cfg/os.h index 2089cc4f..36e11eb5 100644 --- a/bertos/cfg/os.h +++ b/bertos/cfg/os.h @@ -32,7 +32,6 @@ * * \brief OS-specific definitions * - * \version $Id$ * \author Bernie Innocenti */ @@ -111,7 +110,7 @@ sigismember(&sigs__, SIGALRM) ? false : true; \ }) - #if CONFIG_KERN_PREEMPT + #if (CONFIG_KERN && CONFIG_KERN_PREEMPT) #define DECLARE_ISR_CONTEXT_SWITCH(vect) \ void vect(UNUSED_ARG(int, arg)); \ INLINE void __isr_##vect(void); \