[Mesa-dev] [PATCH] glapi: Do not use backtrace on Cygwin.
Vinson Lee
vlee at freedesktop.org
Sat Sep 29 15:29:56 PDT 2012
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
--
1.7.9
More information about the mesa-dev
mailing list