From: Karl Heuer Date: Thu, 21 Dec 1995 08:06:29 +0000 (+0000) Subject: Add #undef for index and rindex. X-Git-Tag: emacs-19.34~2102 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5750ebd89f7b384ef6a3b18e385625800be2a17b;p=emacs.git Add #undef for index and rindex. --- diff --git a/lwlib/lwlib-utils.c b/lwlib/lwlib-utils.c index 1164482e182..6949c87e21c 100644 --- a/lwlib/lwlib-utils.c +++ b/lwlib/lwlib-utils.c @@ -21,6 +21,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #endif +/* Definitions of these in config.h can cause + declaration conflicts later on between declarations for index + and declarations for strchr. This file doesn't use + index and rindex, so cancel them. */ +#undef index +#undef rindex + #include #include #include