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

Author: Eric Engestrom <[email protected]>
Date:   Tue Nov 20 11:39:28 2018 +0000

util: use standard name for strcasecmp()

Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>

---

 src/util/u_string.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/util/u_string.h b/src/util/u_string.h
index 8c8ad5a5365..2b7b7a502b8 100644
--- a/src/util/u_string.h
+++ b/src/util/u_string.h
@@ -175,7 +175,7 @@ util_strncmp(const char *s1, const char *s2, size_t n)
 
 
 
-#define util_strcasecmp stricmp
+#define strcasecmp stricmp
 #define strdup _strdup
 
 #else
@@ -185,7 +185,6 @@ util_strncmp(const char *s1, const char *s2, size_t n)
 #define util_vasprintf vasprintf
 #define util_sprintf sprintf
 #define util_strcmp strcmp
-#define util_strcasecmp strcasecmp
 
 #endif
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to