[Mesa-dev] [PATCH mesa 02/13] util: use standard name for strcasecmp()
Eric Engestrom
eric.engestrom at intel.com
Tue Nov 20 13:11:02 UTC 2018
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
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 cb0895a71a3f50867327..5687fa8aed1ff98287e6 100644
--- a/src/util/u_string.h
+++ b/src/util/u_string.h
@@ -200,7 +200,7 @@ util_strstr(const char *haystack, const char *needle)
}
-#define util_strcasecmp stricmp
+#define strcasecmp stricmp
#define util_strdup _strdup
#else
@@ -215,7 +215,6 @@ util_strstr(const char *haystack, const char *needle)
#define util_strncmp strncmp
#define util_strncat strncat
#define util_strstr strstr
-#define util_strcasecmp strcasecmp
#define util_strdup strdup
#endif
--
Cheers,
Eric
More information about the mesa-dev
mailing list