From: Alexander von Gluck Date: Tue, 3 Jan 2012 15:10:42 +0000 (-0700) Subject: gallium: use Haiku provided debug_printf in OS.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ae591bdf13f02f23471ea302b55eaccbb810dd7;p=mesa.git gallium: use Haiku provided debug_printf in OS.h Signed-off-by: Brian Paul --- diff --git a/src/gallium/auxiliary/util/u_debug.h b/src/gallium/auxiliary/util/u_debug.h index b5ea4050633..cbea3583037 100644 --- a/src/gallium/auxiliary/util/u_debug.h +++ b/src/gallium/auxiliary/util/u_debug.h @@ -91,8 +91,11 @@ debug_printf(const char *format, ...) (void) format; /* silence warning */ #endif } +#else /* is Haiku */ +/* Haiku provides debug_printf in libroot with OS.h */ +#include +#endif -#endif /* !PIPE_OS_HAIKU */ /* * ... isn't portable so we need to pass arguments in parentheses.