From: Vinson Lee Date: Sat, 29 Sep 2012 22:22:14 +0000 (-0700) Subject: glapi: Do not use backtrace on Cygwin. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df0de9320684be29d45121a06de2fa64328eadaf;p=mesa.git glapi: Do not use backtrace on Cygwin. execinfo.h is not available on Cygwin. Signed-off-by: Vinson Lee Reviewed-by: Brian Paul --- diff --git a/src/mapi/glapi/gen/gl_gentable.py b/src/mapi/glapi/gen/gl_gentable.py index 5657e327743..edaabdbacec 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