home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / APPS / diff.lzh / diff / os9k.h < prev    next >
Encoding:
C/C++ Source or Header  |  1986-04-24  |  507 b   |  37 lines

  1. #ifndef _os9k
  2. #define _os9k
  3.  
  4. #ifndef O_RDONLY
  5. #define O_RDONLY    S_IREAD
  6. #endif
  7.  
  8. #ifndef __STDC__
  9. #define    const
  10. #endif
  11.  
  12. #ifndef bcmp
  13. #define bcmp(s1, s2, n)    memcmp ((s1), (s2), (n))
  14. #endif
  15. #ifndef bcopy
  16. #define bcopy(s, d, n)    memcpy ((d), (s), (n))
  17. #endif
  18. #ifndef bzero
  19. #define bzero(s, n)    memset ((s), 0, (n))
  20. #endif
  21.  
  22. #ifndef max
  23. #define max(a, b)    ((a)>(b)?(a):(b))
  24. #endif
  25.  
  26. #define    PR_FILE_NAME    "pr"
  27.  
  28. #endif
  29.  
  30. #ifndef HAVE_MEMCHR
  31. #define    HAVE_MEMCHR    1
  32. #endif
  33.  
  34. #ifndef REGEX_MALLOC
  35. #define REGEX_MALLOC
  36. #endif
  37.