Mercurial > emacs
changeset 13758:5a7e9e98add7
Add #undef for index and rindex.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 21 Dec 1995 08:06:29 +0000 |
parents | 94f0319d4cbb |
children | db3649779fcc |
files | lwlib/lwlib-utils.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lwlib/lwlib-utils.c Thu Dec 21 08:01:26 1995 +0000 +++ b/lwlib/lwlib-utils.c Thu Dec 21 08:06:29 1995 +0000 @@ -21,6 +21,13 @@ #include <config.h> #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 <X11/Xatom.h> #include <X11/IntrinsicP.h> #include <X11/ObjectP.h>