Commit 1f4ecd6b authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(index): Define only if not HAVE_INDEX.

(rindex): Define only if !HAVE_RINDEX.
parent a847af86
......@@ -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) */
#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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment