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 >
Wrap
Text File
|
1988-10-02
|
526b
|
22 lines
24,28c24,37
< #ifdef SV
< #include <string.h>
< #define bzero(s, n) memset((char *)(s), '\000', (unsigned)(n))
< #else
< #include <strings.h>
---
> #ifdef AMIGA
> # define abs(a) ((a) < 0) ? -(a) : (a)
> # ifdef AZTEC_C
> # define bzero(s,n) setmem((char *)(s), (unsigned)(n), '\0')
> # else
> # define bzero(s, n) memset((char *)(s), '\000', (unsigned)(n))
> # endif
> #else
> # ifdef SV
> # include <string.h>
> # define bzero(s, n) memset((char *)(s), '\000', (unsigned)(n))
> # else
> # include <strings.h>
> # endif