home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d8xx / d812 / ppmc.lha / PPMC / Source / PPMC1.2b_source.lha / debug.h < prev    next >
C/C++ Source or Header  |  1993-01-27  |  704b  |  30 lines

  1. #ifndef PPMC_DEBUG_H
  2. #define PPMC_DEBUG_H
  3.  
  4. /*
  5.                             ----------------------
  6.                                     debug.h
  7.                              © 1992,1993 REELSOFT
  8.                             ----------------------
  9. */
  10.  
  11. #include    <stdio.h>
  12.  
  13. #define    MSG_APPWIN_DEBUG        "Unable to Add an AppWindow !"
  14. #define    MSG_MSGPORT_DEBUG        "Unable to Create the Message Port !"
  15. #define    MSG_ANALYSE_DEBUG        "analysing file...\n"
  16. #define    MSG_BEFORE_DEBUG        "before crunching..\n"
  17. #define    MSG_AFTER_DEBUG            "after crunching..\n"
  18.  
  19. #ifdef    DEBUG
  20. #    define    DEBUG_REQ(m,d)            rtEZRequest(m,"Ok",NULL,NULL,d)
  21. #    define    DEBUG_MSG(m)            printf(m)
  22. #    define    DEBUG_PRT(m,d)            printf(m,d)
  23. #else
  24. #    define    DEBUG_REQ(m,d)
  25. #    define    DEBUG_MSG(m)
  26. #    define    DEBUG_PRT(m,d)
  27. #endif    //    DEBUG
  28.  
  29. #endif    //    PPMC_DEBUG_H
  30.