From: Vinson Lee Date: Thu, 31 Jan 2013 07:23:54 +0000 (-0800) Subject: glapi: Do not use backtrace on MinGW. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b68a3b865be2dbd002f1fb8fc3eba20c4293a5bd;p=mesa.git glapi: Do not use backtrace on MinGW. execinfo.h is not available on MinGW. Signed-off-by: Vinson Lee Reviewed-by: Jose Fonseca --- 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