- 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
/* 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