diff -r c74a73474cce -r bc000083297a include/unix/applicfg.h --- a/include/unix/applicfg.h Tue Apr 29 13:54:23 2008 +0200 +++ b/include/unix/applicfg.h Fri May 02 17:30:37 2008 +0200 @@ -76,11 +76,15 @@ /* Definition of error and warning macros */ /* -------------------------------------- */ -#ifndef __KERNEL__ +#ifdef __KERNEL__ +# define MSG(...) printk (__VA_ARGS__) +#elif defined USE_RTAI +# define MSG(...) /*rt_printk (__VA_ARGS__)*/ +#elif defined USE_XENO +# define MSG(...) +#else # include # define MSG(...) printf (__VA_ARGS__) -#else -# define MSG(...) printk (__VA_ARGS__) #endif /* Definition of MSG_ERR */