From da33c2434b1dc4ca24a131a9625166278333b7d3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 1 Sep 2015 16:29:17 -0600 Subject: [PATCH] util: add util_strcasecmp() wrapper Reviewed-by: Jose Fonseca --- src/gallium/auxiliary/util/u_string.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/auxiliary/util/u_string.h b/src/gallium/auxiliary/util/u_string.h index f7ab09c..adcdf20 100644 --- a/src/gallium/auxiliary/util/u_string.h +++ b/src/gallium/auxiliary/util/u_string.h @@ -199,6 +199,8 @@ util_memmove(void *dest, const void *src, size_t n) } +#define util_strcasecmp stricmp + #else #define util_vsnprintf vsnprintf @@ -211,6 +213,7 @@ util_memmove(void *dest, const void *src, size_t n) #define util_strncat strncat #define util_strstr strstr #define util_memmove memmove +#define util_strcasecmp strcasecmp #endif -- 2.7.4