projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c4b621
)
util: add util_strcasecmp() wrapper
author
Brian Paul
<brianp@vmware.com>
Tue, 1 Sep 2015 22:29:17 +0000
(16:29 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 1 Sep 2015 22:29:17 +0000
(16:29 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/util/u_string.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_string.h
b/src/gallium/auxiliary/util/u_string.h
index f7ab09c8f1c2f830c6e3a0e35cd1a24f85cfb4be..adcdf200ec89c8514345244ae7bb21b33c2fe12c 100644
(file)
--- 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