]> git.sur5r.net Git - openldap/blob - include/ac/string.h
import generic headers
[openldap] / include / ac / string.h
1 /* Generic string.h */
2
3 #ifndef _AC_STRING_H
4 #define _AC_STRING_H
5
6 #if STDC_HEADERS
7 # include <string.h>
8 #else
9 # ifndef HAVE_STRCHR
10 #  define strchr index
11 #  define strrchr rindex
12 # endif
13 char *strchr (), *strrchr ();
14 # ifndef HAVE_MEMCPY
15 #  define memcpy(d, s, n) bcopy ((s), (d), (n))
16 #  define memmove(d, s, n) bcopy ((s), (d), (n))
17 # endif
18 #endif
19
20 #endif /* _AC_STRING_H */