home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / sys / netiso / xebec / debug.h next >
Encoding:
C/C++ Source or Header  |  1988-10-05  |  428 b   |  23 lines

  1. /* $Header: debug.h,v 2.1 88/09/19 12:56:16 nhall Exp $ */
  2. /* $Source: /var/home/tadl/src/argo/xebec/RCS/debug.h,v $ */
  3.  
  4. #define OUT stdout
  5.  
  6. extern int    debug[128];
  7.  
  8. #ifdef DEBUG
  9. extern int column;
  10.  
  11. #define IFDEBUG(letter) \
  12.     if(debug['letter']) { 
  13. #define ENDDEBUG  ; (void) fflush(stdout);}
  14.  
  15. #else 
  16.  
  17. #define STAR *
  18. #define IFDEBUG(letter)     //*beginning of comment*/STAR
  19. #define ENDDEBUG     STAR/*end of comment*//
  20.  
  21. #endif DEBUG
  22.  
  23.