summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2013-01-30 23:23:54 -0800
committerVinson Lee <[email protected]>2013-01-31 23:23:12 -0800
commitb68a3b865be2dbd002f1fb8fc3eba20c4293a5bd (patch)
treee98a799c01f72187afdc7bf852f8b5c6142a4a73 /src/mapi
parent5e0c956cb219e54dfc22e64ac3f00e22619c763f (diff)
glapi: Do not use backtrace on MinGW.
execinfo.h is not available on MinGW. Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/gl_gentable.py2
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 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