gallium: use Haiku provided debug_printf in OS.h

Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Alexander von Gluck
2012-01-03 08:10:42 -07:00
committed by Brian Paul
parent d4bf5cefb0
commit 2ae591bdf1
+4 -1
View File
@@ -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 <OS.h>
#endif
#endif /* !PIPE_OS_HAIKU */
/*
* ... isn't portable so we need to pass arguments in parentheses.