diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-08-08 04:44:47 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-08-08 04:44:47 +0000 |
commit | ec6170f59b44bb0e9c40c263cba3d88f80db884c (patch) | |
tree | 3683a97a237e02b97ecdc9514aaf26f460715b06 /include/string.h | |
parent | 7d0b1164e664e0f7788aa16c7b2b74311a1495a8 (diff) | |
download | glibc-ec6170f59b44bb0e9c40c263cba3d88f80db884c.tar.gz glibc-ec6170f59b44bb0e9c40c263cba3d88f80db884c.tar.xz glibc-ec6170f59b44bb0e9c40c263cba3d88f80db884c.zip |
(get_null_defines): Treat NOT_IN_libc special. It is known to be defined.
Diffstat (limited to 'include/string.h')
-rw-r--r-- | include/string.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/string.h b/include/string.h index b4ccb1b57f..d9a5eebcbe 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 |