home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 10 / Fresh_Fish_10_2352.bin / new / comm / tcp / netinput / source / debug.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-25  |  428 b   |  25 lines

  1. #ifndef __DEBUG_H
  2. #define __DEBUG_H
  3. /*
  4. ** $VER: debug.h 1.0 (17 Jun 1995)
  5. **
  6. ** convenient debuggung support
  7. **
  8. ** (C) Copyright 1995 Marius Gröger
  9. **     All Rights Reserved
  10. **
  11. ** $HISTORY:
  12. **
  13. ** 17 Jun 1995 : 001.000 :  created
  14. */
  15.  
  16. #if DEBUG != 0
  17. extern void KPrintF(char *, ...), KGetChar(void);
  18. #  define d(x) do { KPrintF("%s:%s:%ld:",__FILE__,__FUNC__,__LINE__); KPrintF x; } while(0)
  19. #else
  20. #  define d(x)
  21. #endif
  22.  
  23. #endif
  24.  
  25.