summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_debug.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-09 09:00:58 -0600
committerBrian Paul <[email protected]>2009-09-09 09:00:58 -0600
commit7bf63473623e01933adc0e8f4464eda8f2860564 (patch)
tree4cfb1b611c999c4b158e6809ee78a02e4d7698b5 /src/gallium/auxiliary/util/u_debug.h
parent94a8157ef6bf6695cdc66325c9a7698e64f3e37e (diff)
parent0c309bb494b6ee1c403442d1207743f749f95b6e (diff)
Merge branch 'mesa_7_6_branch'
Diffstat (limited to 'src/gallium/auxiliary/util/u_debug.h')
-rw-r--r--src/gallium/auxiliary/util/u_debug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_debug.h b/src/gallium/auxiliary/util/u_debug.h
index d42b65ce281..1380d98d7ee 100644
--- a/src/gallium/auxiliary/util/u_debug.h
+++ b/src/gallium/auxiliary/util/u_debug.h
@@ -88,6 +88,7 @@ _debug_printf(const char *format, ...)
* - avoid outputing large strings (512 bytes is the current maximum length
* that is guaranteed to be printed in all platforms)
*/
+#if !defined(PIPE_OS_HAIKU)
static INLINE void
debug_printf(const char *format, ...)
{
@@ -101,6 +102,7 @@ debug_printf(const char *format, ...)
#endif
}
+#endif /* !PIPE_OS_HAIKU */
/*
* ... isn't portable so we need to pass arguments in parentheses.