From: Eric Engestrom Date: Tue, 20 Nov 2018 11:39:28 +0000 (+0000) Subject: util: use standard name for strcasecmp() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7abc7396968edd123e3a84fe6cda5ba446ffd24e;p=mesa.git util: use standard name for strcasecmp() Signed-off-by: Eric Engestrom Reviewed-by: Eric Anholt --- 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