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

Brian Paul brianp at vmware.com
Mon Oct 1 07:05:08 PDT 2012


On 09/29/2012 04:29 PM, Vinson Lee wrote:
> execinfo.h is not available on Cygwin.
>
> Signed-off-by: Vinson Lee<vlee at freedesktop.org>
> ---
>   src/mapi/glapi/gen/gl_gentable.py |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/mapi/glapi/gen/gl_gentable.py b/src/mapi/glapi/gen/gl_gentable.py
> index 5657e32..edaabdb 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(GLXEXT)&&  defined(DEBUG)&&  !defined(_WIN32_WCE)&&  !defined(__CYGWIN__))
>   #define USE_BACKTRACE
>   #endif
>

Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list