From 8058c2d878bb94726a84fcc013b4ff78afc8f091 Mon Sep 17 00:00:00 2001 From: Alexander Smarus Date: Mon, 6 Jan 2020 17:10:00 +0200 Subject: [PATCH] Redirect CFLog to stderr on Windows --- CoreFoundation/Base.subproj/CFUtilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CoreFoundation/Base.subproj/CFUtilities.c b/CoreFoundation/Base.subproj/CFUtilities.c index b2517779d7..06ac3dc684 100644 --- a/CoreFoundation/Base.subproj/CFUtilities.c +++ b/CoreFoundation/Base.subproj/CFUtilities.c @@ -712,7 +712,7 @@ typedef enum { static bool also_do_stderr(const _cf_logging_style style) { bool result = false; -#if TARGET_OS_LINUX +#if TARGET_OS_LINUX || TARGET_OS_WIN32 // just log to stderr, other logging facilities are out result = true; #elif TARGET_OS_MAC