[Mesa-dev] [PATCH] glapi: Do not use backtrace on MinGW.

Jose Fonseca jfonseca at vmware.com
Thu Jan 31 02:20:43 PST 2013


Looks good. Though I wonder why I didn't see build failures here. What sort of error did you get?

Jose

----- Original Message -----
> execinfo.h is not available on MinGW.
> 
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
> ---
>  src/mapi/glapi/gen/gl_gentable.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mapi/glapi/gen/gl_gentable.py
> b/src/mapi/glapi/gen/gl_gentable.py
> index a00c9c2..a3c9898 100644
> --- a/src/mapi/glapi/gen/gl_gentable.py
> +++ b/src/mapi/glapi/gen/gl_gentable.py
> @@ -42,7 +42,7 @@ header = """/* GLXEXT is the define used in the
> xserver when the GLX extension i
>  #endif
>  
>  #if (defined(GLXEXT) && defined(HAVE_BACKTRACE)) \\
> -	|| (!defined(GLXEXT) && defined(DEBUG) && !defined(_WIN32_WCE) &&
> !defined(__CYGWIN__))
> +	|| (!defined(GLXEXT) && defined(DEBUG) && !defined(_WIN32_WCE) &&
> !defined(__CYGWIN__) && !defined(__MINGW32__))
>  #define USE_BACKTRACE
>  #endif
>  
> --
> 1.8.0
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 


More information about the mesa-dev mailing list