projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4bf5ce
)
gallium: use Haiku provided debug_printf in OS.h
author
Alexander von Gluck
<kallisti5@unixzen.com>
Tue, 3 Jan 2012 15:10:42 +0000
(08:10 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 3 Jan 2012 15:10:49 +0000
(08:10 -0700)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_debug.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_debug.h
b/src/gallium/auxiliary/util/u_debug.h
index b5ea4050633380868fd3c15a1cb87236905a84f7..cbea35830375da3e144a4c645f97755a7da14956 100644
(file)
--- 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 <OS.h>
+#endif
-#endif /* !PIPE_OS_HAIKU */
/*
* ... isn't portable so we need to pass arguments in parentheses.