[Mesa-dev] [PATCH] include: Require MSVC 2013 Update 4.

Roland Scheidegger sroland at vmware.com
Thu Jun 23 14:39:34 UTC 2016


Am 23.06.2016 um 12:31 schrieb Jose Fonseca:
> Earlier MSVC 2013 releases have troubles compiling some of our C99 code,
> so make sure we have Update 4 to avoid confusion.
> 
> Cc: mesa-stable at lists.freedesktop.org
> ---
>  include/c99_compat.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/c99_compat.h b/include/c99_compat.h
> index bfe655b..24e96e0 100644
> --- a/include/c99_compat.h
> +++ b/include/c99_compat.h
> @@ -36,8 +36,8 @@
>   */
>  #if defined(_MSC_VER)
>  
> -#  if _MSC_VER < 1800
> -#    error "Microsoft Visual Studio 2013 or higher required"
> +#  if _MSC_VER < 1800 || (_MSC_FULL_VER < 180031101 && !defined(__clang__))
> +#    error "Microsoft Visual Studio 2013 Update 4 or higher required"
>  #  endif
>  
>     /*
> 

Reviewed-by: Roland Scheidegger <sroland at vmware.com>


More information about the mesa-dev mailing list