home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Programming / tek / kn / linux / visual.h < prev   
Encoding:
C/C++ Source or Header  |  2001-05-12  |  472 b   |  20 lines

  1.  
  2. #ifndef _TEK_KERNEL_LINUX_VISUAL_H
  3. #define _TEK_KERNEL_LINUX_VISUAL_H
  4.  
  5. #ifdef KNVISDEBUG
  6.     #include <stdio.h>
  7.     #include <errno.h>
  8.     #include <assert.h>
  9.     #define    dbvprintf(l,x)            {if (l >= KNVISDEBUG) fprintf(stderr, x);}
  10.     #define    dbvprintf1(l,x,a)        {if (l >= KNVISDEBUG) fprintf(stderr, x,a);}
  11.     #define    dbvprintf2(l,x,a,b)        {if (l >= KNVISDEBUG) fprintf(stderr, x,a,b);}
  12. #else
  13.     #define    dbvprintf(l,x)
  14.     #define    dbvprintf1(l,x,a)
  15.     #define    dbvprintf2(l,x,a,b)
  16. #endif
  17.  
  18.  
  19. #endif
  20.