util: use standard name for strcasecmp()
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 20 Nov 2018 11:39:28 +0000 (11:39 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Fri, 19 Jul 2019 21:39:38 +0000 (22:39 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/util/u_string.h

index 8c8ad5a536506fff2e1bad23f48637657e1932f0..2b7b7a502b8dfcb422b8741b28c04c6fefcb8625 100644 (file)
@@ -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