include/unix/applicfg.h
changeset 454 bc000083297a
parent 391 7802a7d5584f
child 749 5cbb8e9ad67c
equal deleted inserted replaced
453:c74a73474cce 454:bc000083297a
    74 #define REAL32	float
    74 #define REAL32	float
    75 #define REAL64 double
    75 #define REAL64 double
    76 
    76 
    77 /* Definition of error and warning macros */
    77 /* Definition of error and warning macros */
    78 /* -------------------------------------- */
    78 /* -------------------------------------- */
    79 #ifndef __KERNEL__
    79 #ifdef __KERNEL__
       
    80 #	define MSG(...) printk (__VA_ARGS__)
       
    81 #elif defined USE_RTAI
       
    82 #	define MSG(...) /*rt_printk (__VA_ARGS__)*/
       
    83 #elif defined USE_XENO
       
    84 #	define MSG(...)
       
    85 #else
    80 #	include <stdio.h>
    86 #	include <stdio.h>
    81 #	define MSG(...) printf (__VA_ARGS__)
    87 #	define MSG(...) printf (__VA_ARGS__)
    82 #else
       
    83 #	define MSG(...) printk (__VA_ARGS__)
       
    84 #endif
    88 #endif
    85 
    89 
    86 /* Definition of MSG_ERR */
    90 /* Definition of MSG_ERR */
    87 /* --------------------- */
    91 /* --------------------- */
    88 #ifdef DEBUG_ERR_CONSOLE_ON
    92 #ifdef DEBUG_ERR_CONSOLE_ON