aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/strings.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-01-15 09:59:45 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-01-15 09:59:45 -0500
commit5c6348e9995b0dde23a2de99263e9e0e3a72fcd2 (patch)
tree9640f1bb8888959d4a34db04a5e06d9bde48ed7b /src/nvim/strings.c
parent5f24549ab1ecd69236be2761a2e43690ba7cf283 (diff)
parentd2e7cce560932e5e8032656598b0e27e1c06ec0d (diff)
downloadrneovim-5c6348e9995b0dde23a2de99263e9e0e3a72fcd2.tar.gz
rneovim-5c6348e9995b0dde23a2de99263e9e0e3a72fcd2.tar.bz2
rneovim-5c6348e9995b0dde23a2de99263e9e0e3a72fcd2.zip
Merge pull request #1816 from Pyrohh/macro_cleanup
Macro cleanup
Diffstat (limited to 'src/nvim/strings.c')
-rw-r--r--src/nvim/strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c
index 25e4a6c93b..20fa35ed1c 100644
--- a/src/nvim/strings.c
+++ b/src/nvim/strings.c
@@ -329,7 +329,7 @@ void vim_strcat(char_u *restrict to, const char_u *restrict from,
STRCPY(to + tolen, from);
}
-#if (!defined(HAVE_STRCASECMP) && !defined(HAVE_STRICMP)) || defined(PROTO)
+#if (!defined(HAVE_STRCASECMP) && !defined(HAVE_STRICMP))
/*
* Compare two strings, ignoring case, using current locale.
* Doesn't work for multi-byte characters.
@@ -353,7 +353,7 @@ int vim_stricmp(const char *s1, const char *s2)
}
#endif
-#if (!defined(HAVE_STRNCASECMP) && !defined(HAVE_STRNICMP)) || defined(PROTO)
+#if (!defined(HAVE_STRNCASECMP) && !defined(HAVE_STRNICMP))
/*
* Compare two strings, for length "len", ignoring case, using current locale.
* Doesn't work for multi-byte characters.