mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
util: Prevent strcasecmp macro redefinion.
MinGW headers already define it. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com> Acked-by: Eric Engestrom <eric@engestrom.ch>
This commit is contained in:
parent
46f7b3662f
commit
6b2bc8f25e
1 changed files with 3 additions and 0 deletions
|
|
@ -110,7 +110,10 @@ util_asprintf(char **str, const char *fmt, ...)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef strcasecmp
|
||||||
#define strcasecmp stricmp
|
#define strcasecmp stricmp
|
||||||
|
#endif
|
||||||
|
|
||||||
#define strdup _strdup
|
#define strdup _strdup
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue