diff options
author | Brian Paul <[email protected]> | 2015-09-01 16:29:17 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-09-01 16:29:17 -0600 |
commit | da33c2434b1dc4ca24a131a9625166278333b7d3 (patch) | |
tree | 60a6fe7d963820546b224702a5b181963ca8043f /src/gallium/auxiliary/util | |
parent | 0c4b6215909f140305dfa65ca6b58e8119e229b8 (diff) |
util: add util_strcasecmp() wrapper
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_string.h b/src/gallium/auxiliary/util/u_string.h index f7ab09c8f1c..adcdf200ec8 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 |