Module: Mesa
Branch: master
Commit: da33c2434b1dc4ca24a131a9625166278333b7d3
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=da33c2434b1dc4ca24a131a9625166278333b7d3

Author: Brian Paul <bri...@vmware.com>
Date:   Tue Sep  1 16:29:17 2015 -0600

util: add util_strcasecmp() wrapper

Reviewed-by: Jose Fonseca <jfons...@vmware.com>

---

 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
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to