From 2bd22761ace072c96b83eaa435729c07aefd7c37 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Tue, 18 Jan 2005 16:43:18 +0000 Subject: [PATCH] #define fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2285 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ src/nano.h | 6 +----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index f342c686..a2220db2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -178,6 +178,9 @@ CVS code - - Try to automatically detect whether UTF-8 support is needed by setting the NO_UTF8 flag if setlocale() returns a string that doesn't contain "UTF-8". (DLR) +- nano.h: + - Remove now-unneeded #defines for functions that now have + multibyte equivalents. (DLR) - utils.c: regexec_safe() - Remove redundant regexec #define, and move the regexec #undef diff --git a/src/nano.h b/src/nano.h index 8ed5dce9..31a50866 100644 --- a/src/nano.h +++ b/src/nano.h @@ -102,12 +102,8 @@ /* If no strcasestr(), getdelim(), or getline(), use the versions we * have. */ -#ifndef HAVE_STRNCASECMP -#define strncasecmp nstrnicmp -#endif - #ifndef HAVE_STRCASESTR -#define strcasestr nstristr +#define strcasestr nstrcasestr #endif #ifndef HAVE_GETDELIM -- 2.39.5