equal
deleted
inserted
replaced
76 |
76 |
77 /* Definition of error and warning macros */ |
77 /* Definition of error and warning macros */ |
78 /* -------------------------------------- */ |
78 /* -------------------------------------- */ |
79 #ifdef __KERNEL__ |
79 #ifdef __KERNEL__ |
80 # define MSG(...) printk (__VA_ARGS__) |
80 # define MSG(...) printk (__VA_ARGS__) |
81 #elif defined USE_RTAI |
81 //#elif defined USE_RTAI |
82 # define MSG(...) /*rt_printk (__VA_ARGS__)*/ |
82 //# define MSG(...) rt_printk (__VA_ARGS__) |
83 #elif defined USE_XENO |
83 #elif defined USE_XENO |
84 # define MSG(...) |
84 # define MSG(...) |
85 #else |
85 #else |
86 # include <stdio.h> |
86 # include <stdio.h> |
87 # define MSG(...) printf (__VA_ARGS__) |
87 # define MSG(...) printf (__VA_ARGS__) |