On 06/22/2012 12:18 PM, Brian Paul wrote:
> So that formats such as "%llx" are understood.
> ---
>  src/mesa/main/imports.h |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
> index c0b6cec..9fb6ae8 100644
> --- a/src/mesa/main/imports.h
> +++ b/src/mesa/main/imports.h
> @@ -646,6 +646,16 @@ _mesa_vsnprintf(char *str, size_t size, const char *fmt, 
> va_list arg);
>  #endif
>  
>  
> +/**
> + * On Mingw32 we need to use __mingw_fprintf() to parse formats such
> + * as "0x%llx", and possibly others
> + */
> +#ifdef __MINGW32__
> +#define fprintf __mingw_fprintf
> +#endif
> +
> +
> +
>  #ifdef __cplusplus
>  }
>  #endif

Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>


_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to