From 1f4ecd6b72241c6f562192735279329c5eb963c9 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 28 Aug 2000 15:03:42 +0000 Subject: [PATCH] (index): Define only if not HAVE_INDEX. (rindex): Define only if !HAVE_RINDEX. --- src/s/usg5-3.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/s/usg5-3.h b/src/s/usg5-3.h index 557091d19b9..5323bb694a6 100644 --- a/src/s/usg5-3.h +++ b/src/s/usg5-3.h @@ -148,8 +148,12 @@ Boston, MA 02111-1307, USA. */ #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. -- 2.39.2