MinGW headers already define it. --- src/util/u_string.h | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/src/util/u_string.h b/src/util/u_string.h index 5fea8f17e73..361dcb41e2b 100644 --- a/src/util/u_string.h +++ b/src/util/u_string.h @@ -110,7 +110,10 @@ util_asprintf(char **str, const char *fmt, ...) return ret; } +#ifndef strcasecmp #define strcasecmp stricmp +#endif + #define strdup _strdup #endif -- 2.17.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev