home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / mbase.zip / STDINC.H < prev   
C/C++ Source or Header  |  1991-02-11  |  588b  |  36 lines

  1. #ifndef STDINC_H
  2. #define STDINC_H
  3.  
  4. #include <stdio.h>
  5. #include <fcntl.h>
  6.  
  7. #ifndef AMIGA
  8. #define UNIX
  9. #define CLS  "\033[2J\033[1;1H"  /* ansi std */
  10. #else
  11. #define CLS  "\014"            /* amiga std */
  12. #endif
  13.  
  14. #define ANSI "\033["
  15. #define NORM "\033[0m"
  16. #define BOLD "\033[1m"
  17. #define SUBD "\033[2m"
  18. #define ITAL "\033[3m"
  19. #define UNDR "\033[4m"
  20. #define INVR "\033[7m"
  21.  
  22. #define sendchar(x) putchar ((char)(x))
  23. #define fix(x)      ((x) <  0) ? ((x)+256) : (x)
  24. #define until(x)    while (!(x))
  25.  
  26. #ifndef MAX_RPT
  27. #define MAX_RPT 240
  28. #endif
  29.  
  30. #ifndef MAX_CUT
  31. #define MAX_CUT 80
  32. #endif
  33.  
  34. #endif
  35.  
  36.