summaryrefslogtreecommitdiff
path: root/src/mapi
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2013-07-12 17:01:57 -0700
committerChad Versace <chad.versace@linux.intel.com>2013-07-16 09:00:38 -0700
commitf74acb98355b789b0e357522162e3a2f513d9785 (patch)
tree7ad959b439e562dc5abc729b83a767e54e97f07f /src/mapi
parentb20b2b6dc8b72fc099afb9690f61596e1d0b0902 (diff)
glapi: Do not use backtrace on OpenBSD.
execinfo.h is not available on OpenBSD. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
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 a3c98982f80..5c3527166b0 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(GLXEXT) && defined(DEBUG) && !defined(_WIN32_WCE) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__OpenBSD__))
#define USE_BACKTRACE
#endif