[Mesa-dev] [PATCH mesa 02/13] util: use standard name for strcasecmp()

Emil Velikov emil.l.velikov at gmail.com
Wed Nov 21 14:10:02 UTC 2018


On 2018/11/20, Eric Engestrom wrote:
> 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

The MSDN lists _stricmp (note the missing underscore) for MSVC 2017.

HTH
-Emil


More information about the mesa-dev mailing list