11 # define strrchr rindex
13 char *strchr (), *strrchr ();
16 # define memcpy(d, s, n) bcopy ((s), (d), (n))
17 # define memmove(d, s, n) bcopy ((s), (d), (n))
22 # if defined( HAVE_MEMMOVE )
23 # define SAFEMEMCPY( d, s, n ) memmove((d), (s), (n))
24 # elif defined( HAVE_BCOPY )
25 # define SAFEMEMCPY( d, s, n ) bcopy((s), (d), (n))
26 # elif defined( MACOS )
27 # define SAFEMEMCPY( d, s, n ) BlockMoveData((Ptr)(s), (Ptr)(d), (n))
29 /* nothing left but memcpy() */
30 # define SAFEMEMCPY( d, s, n ) memcpy((d), (s), (n))
34 #endif /* _AC_STRING_H */