home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / online / source / c / compilers / C_Interp.sit.hqx / C_Interp / Compatibility.h < prev    next >
Text File  |  1992-05-01  |  668b  |  44 lines

  1. /*** Compatibility.h ***/
  2.  
  3. #ifdef THINK_C
  4. #include <setjmp.h>
  5. #include <stdio.h>
  6. #include <unix.h>
  7. #include <fcntl.h>
  8. #include <stdlib.h>
  9. #include <ctype.h>
  10. #include <string.h>
  11. #include <stdarg.h>
  12.  
  13. #define EOLN '\015'
  14. #define EOLNS "\015"
  15. #define T_EOF 0xFF
  16.  
  17. #else
  18.  
  19. #include <setjmp.h>
  20. #include <stdio.h>
  21. #include <fcntl.h>
  22. #include <stdlib.h>
  23. #include <ctype.h>
  24. #include <string.h>
  25. #include <stdarg.h>
  26.  
  27. #define EOLN '\012'
  28. #define EOLNS "\012"
  29. #define T_EOF '\377'
  30.  
  31. typedef short Boolean;
  32. typedef char Byte;
  33. #define noErr 0
  34. #endif
  35.  
  36. #ifndef TRUE
  37. #define TRUE 1
  38. #define FALSE 0
  39. #endif
  40.  
  41. extern void Sys_Beep(int);
  42. extern int Mem_Error(void);
  43. extern int Display(Byte *);
  44.