From b68a3b865be2dbd002f1fb8fc3eba20c4293a5bd Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 30 Jan 2013 23:23:54 -0800 Subject: [PATCH] glapi: Do not use backtrace on MinGW. execinfo.h is not available on MinGW. Signed-off-by: Vinson Lee Reviewed-by: Jose Fonseca --- 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 a00c9c27a54..a3c98982f80 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 -- 2.30.2