2 * macos.h: bridge unix and Mac for LBER/LDAP
11 #ifdef macintosh /* IUMagIDString declared in TextUtils.h under MPW */
12 #include <TextUtils.h>
13 #else /* macintosh */ /* IUMagIDString declared in Packages.h under ThinkC */
15 #endif /* macintosh */
17 #define strcasecmp( s1, s2 ) IUMagIDString( s1, s2, strlen( s1 ), \
19 #else /* NO_GLOBALS */
20 int strcasecmp( char *s1, char *s2 );
21 int strncasecmp( char *s1, char *s2, long n );
24 #include <Memory.h> /* to get BlockMove() */
26 char *strdup( char *s );
29 #define isascii(c) ((unsigned)(c)<=0177) /* for those who don't have this in ctype.h */