From ec6170f59b44bb0e9c40c263cba3d88f80db884c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 8 Aug 2002 04:44:47 +0000 Subject: (get_null_defines): Treat NOT_IN_libc special. It is known to be defined. --- include/string.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/string.h b/include/string.h index b4ccb1b..d9a5eeb 100644 --- a/include/string.h +++ b/include/string.h @@ -72,11 +72,13 @@ libc_hidden_proto (__strndup) libc_hidden_proto (__strerror_r) libc_hidden_proto (__strverscmp) -# ifndef index -# define index(s, c) (strchr ((s), (c))) -# endif -# ifndef rindex -# define rindex(s, c) (strrchr ((s), (c))) +# ifndef _ISOMAC +# ifndef index +# define index(s, c) (strchr ((s), (c))) +# endif +# ifndef rindex +# define rindex(s, c) (strrchr ((s), (c))) +# endif # endif #endif -- cgit v1.1