diff options
author | Eric Engestrom <[email protected]> | 2019-08-01 22:36:30 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-08-02 18:38:52 +0100 |
commit | bffa23313a470b7813eb1e0386cb056b662fc8e4 (patch) | |
tree | 40867f1b43a44f1a9c116fce5b2bbdbc4b190353 /src/util/u_debug.h | |
parent | 7f12a66ad5be2ec190000622dddff58600bc9053 (diff) |
util/u_debug: use detect_os.h
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/util/u_debug.h')
-rw-r--r-- | src/util/u_debug.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/u_debug.h b/src/util/u_debug.h index b3505caebfd..2136920417a 100644 --- a/src/util/u_debug.h +++ b/src/util/u_debug.h @@ -40,8 +40,9 @@ #include "util/os_misc.h" +#include "util/detect_os.h" -#if defined(PIPE_OS_HAIKU) +#if DETECT_OS_HAIKU /* Haiku provides debug_printf in libroot with OS.h */ #include <OS.h> #endif @@ -82,7 +83,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) +#if !DETECT_OS_HAIKU static inline void debug_printf(const char *format, ...) _util_printf_format(1,2); |