On 2018/11/20, Eric Engestrom wrote:

> @@ -65,6 +65,7 @@ util_strchrnul(const char *s, char c)
>  
>  #ifdef _WIN32
>  
> +#define vsnprintf util_vsnprintf
>  static inline int
>  util_vsnprintf(char *str, size_t size, const char *format, va_list ap)

Analogous to previous patch, MSVC seems to be compliant?

 "Beginning with the UCRT in Visual Studio 2015 and Windows 10,
  vsnprintf is no longer identical to _vsnprintf. The vsnprintf function
  complies with the C99 standard; "

HTH
Emil

[1] 
https://docs.microsoft.com/en-gb/cpp/c-runtime-library/reference/vsnprintf-vsnprintf-vsnprintf-l-vsnwprintf-vsnwprintf-l?view=vs-2017
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to