home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / calculat / rpn30src.zip / DEBUG.H < prev    next >
C/C++ Source or Header  |  1990-05-10  |  424b  |  30 lines

  1. /*
  2. | include this file always, change first line as needed
  3. */
  4.  
  5. /*** #define DEBUG ***/
  6.  
  7. #ifdef DEBUG
  8.  
  9. #ifndef DEBUG_H
  10. #define DEBUG_H
  11. #include <stdio.h>
  12.  
  13. #define DBG_FPRINTF(lst)    (fprintf lst)
  14.  
  15. void start_debug(void);
  16.  
  17. #ifdef DBG_MAIN
  18. FILE *errfile;
  19. #else
  20. extern FILE *errfile;
  21. #endif
  22. #endif    /* !DEBUG_H */
  23.  
  24. #else    /* !DEBUG */
  25.  
  26. #define DBG_FPRINTF(lst)
  27. #define start_debug()
  28.  
  29. #endif    /* DEBUG */
  30.