Commit 2bd22761 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

#define fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2285 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 4 additions and 5 deletions
+4 -5
...@@ -178,6 +178,9 @@ CVS code - ...@@ -178,6 +178,9 @@ CVS code -
- Try to automatically detect whether UTF-8 support is needed by - Try to automatically detect whether UTF-8 support is needed by
setting the NO_UTF8 flag if setlocale() returns a string that setting the NO_UTF8 flag if setlocale() returns a string that
doesn't contain "UTF-8". (DLR) doesn't contain "UTF-8". (DLR)
- nano.h:
- Remove now-unneeded #defines for functions that now have
multibyte equivalents. (DLR)
- utils.c: - utils.c:
regexec_safe() regexec_safe()
- Remove redundant regexec #define, and move the regexec #undef - Remove redundant regexec #define, and move the regexec #undef
......
...@@ -102,12 +102,8 @@ ...@@ -102,12 +102,8 @@
/* If no strcasestr(), getdelim(), or getline(), use the versions we /* If no strcasestr(), getdelim(), or getline(), use the versions we
* have. */ * have. */
#ifndef HAVE_STRNCASECMP
#define strncasecmp nstrnicmp
#endif
#ifndef HAVE_STRCASESTR #ifndef HAVE_STRCASESTR
#define strcasestr nstristr #define strcasestr nstrcasestr
#endif #endif
#ifndef HAVE_GETDELIM #ifndef HAVE_GETDELIM
......
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