Mercurial > emacs
diff src/s/usg5-3.h @ 31226:4b1b1196a217
(index): Define only if not HAVE_INDEX.
(rindex): Define only if !HAVE_RINDEX.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 28 Aug 2000 15:03:42 +0000 |
parents | e36f3a1efa2b |
children | 695cf19ef79e d7ddb3e565de |
line wrap: on
line diff
--- a/src/s/usg5-3.h Mon Aug 28 15:03:29 2000 +0000 +++ b/src/s/usg5-3.h Mon Aug 28 15:03:42 2000 +0000 @@ -148,8 +148,12 @@ #define _longjmp longjmp /* On USG systems these have different names */ +#ifndef HAVE_INDEX #define index strchr +#endif /* ! defined (HAVE_INDEX) */ +#ifndef HAVE_RINDEX #define rindex strrchr +#endif /* ! defined (HAVE_RINDEX) */ /* USG systems tend to put everything declared static into the initialized data area, which becomes pure after dumping Emacs.