diff options
author | Alexander von Gluck <[email protected]> | 2012-01-03 08:10:42 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-03 08:10:49 -0700 |
commit | 2ae591bdf13f02f23471ea302b55eaccbb810dd7 (patch) | |
tree | e1bb66757c75065fef4ecfd66aa9bc0191bbbeb9 /src | |
parent | d4bf5cefb0943a196c603360187493e270a66442 (diff) |
gallium: use Haiku provided debug_printf in OS.h
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/util/u_debug.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 <OS.h> +#endif -#endif /* !PIPE_OS_HAIKU */ /* * ... isn't portable so we need to pass arguments in parentheses. |