summaryrefslogtreecommitdiffstats
path: root/src/util/u_debug.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-08-01 22:36:30 +0100
committerEric Engestrom <[email protected]>2019-08-02 18:38:52 +0100
commitbffa23313a470b7813eb1e0386cb056b662fc8e4 (patch)
tree40867f1b43a44f1a9c116fce5b2bbdbc4b190353 /src/util/u_debug.c
parent7f12a66ad5be2ec190000622dddff58600bc9053 (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.c')
-rw-r--r--src/util/u_debug.c2
1 files changed, 1 insertions, 1 deletions
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);