summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2013-10-11 14:16:35 -0700
committerVinson Lee <vlee@freedesktop.org>2013-10-11 14:48:45 -0700
commitfe6974382b353efebf06dfb2d00b0b2c752fb666 (patch)
tree262886f347c9b8074eb21174a3410f87fb8f264f /src/mapi
parent59f18340c3ab0a4eeafd438203bfb0f6c034e5c2 (diff)
glapi: Do not use backtrace on NetBSD.
execinfo.h is not available on NetBSD. Fixes this bulid error. CC glapi_gentable.lo glapi_gentable.c:44:22: fatal error: execinfo.h: No such file or directory Signed-off-by: Vinson Lee <vlee@freedesktop.org>
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 5c3527166b0..fa9626825ee 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(__MINGW32__) && !defined(__OpenBSD__))
+ || (!defined(GLXEXT) && defined(DEBUG) && !defined(_WIN32_WCE) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__OpenBSD__) && !defined(__NetBSD__))
#define USE_BACKTRACE
#endif