From bffa23313a470b7813eb1e0386cb056b662fc8e4 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 1 Aug 2019 22:36:30 +0100 Subject: util/u_debug: use detect_os.h Signed-off-by: Eric Engestrom Reviewed-by: Matt Turner --- src/util/u_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util/u_debug.c') diff --git a/src/util/u_debug.c b/src/util/u_debug.c index b27bf7c5480..cd31ca6e130 100644 --- a/src/util/u_debug.c +++ b/src/util/u_debug.c @@ -51,7 +51,7 @@ void _debug_vprintf(const char *format, va_list ap) { static char buf[4096] = {'\0'}; -#if defined(PIPE_OS_WINDOWS) || defined(EMBEDDED_DEVICE) +#if DETECT_OS_WINDOWS || defined(EMBEDDED_DEVICE) /* We buffer until we find a newline. */ size_t len = strlen(buf); int ret = vsnprintf(buf + len, sizeof(buf) - len, format, ap); -- cgit v1.2.3