home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d156 / flex.lha / Flex / Flex2 / flexdef.h.diff < prev    next >
Text File  |  1988-10-02  |  526b  |  22 lines

  1. 24,28c24,37
  2. < #ifdef SV
  3. < #include <string.h>
  4. < #define bzero(s, n) memset((char *)(s), '\000', (unsigned)(n))
  5. < #else
  6. < #include <strings.h>
  7. ---
  8. > #ifdef AMIGA
  9. > # define abs(a) ((a) < 0) ? -(a) : (a)
  10. > # ifdef AZTEC_C
  11. > #  define bzero(s,n) setmem((char *)(s), (unsigned)(n), '\0')
  12. > # else
  13. > #  define bzero(s, n) memset((char *)(s), '\000', (unsigned)(n))
  14. > # endif
  15. > #else
  16. > # ifdef SV
  17. > #  include <string.h>
  18. > #  define bzero(s, n) memset((char *)(s), '\000', (unsigned)(n))
  19. > # else
  20. > #  include <strings.h>
  21. > # endif
  22.