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

Vinson Lee vlee at freedesktop.org
Wed Jan 30 23:27:51 PST 2013


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



More information about the mesa-dev mailing list