From d76192cce12658d08122204df75c3c29b59895a5 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Fri, 24 Oct 2014 13:18:57 -0400 Subject: Ignore reserved words on Windows Fixes #2385 and #2386 --- csync/src/std/c_string.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'csync/src/std/c_string.h') diff --git a/csync/src/std/c_string.h b/csync/src/std/c_string.h index d80727a63..920266c5c 100644 --- a/csync/src/std/c_string.h +++ b/csync/src/std/c_string.h @@ -59,6 +59,17 @@ struct c_strlist_s { size_t size; }; +/** + * @brief Compare to strings case insensitively. + * + * @param a First string to compare. + * @param b Second string to compare. + * @param n Max comparison length. + * + * @return see strncasecmp + */ +int c_strncasecmp(const char *a, const char *b, size_t n); + /** * @brief Compare to strings if they are equal. * -- cgit v1.2.3