From 7318b7cb8effeca45e8b335d6e6b6fbbe21005bc Mon Sep 17 00:00:00 2001 From: Cooper Partin Date: Thu, 8 Jan 2015 09:15:35 -0800 Subject: [PATCH] Fixed failed compilation for WinRT to use OutputDebugStringA for non wide strings. Change-Id: If012660d4b895399fe5e3226dea25a8c7f78c8ac Reviewed-on: https://chromium-review.googlesource.com/239504 Reviewed-by: Geoff Lang Tested-by: Cooper Partin Reviewed-by: Jamie Madill --- src/common/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/debug.cpp b/src/common/debug.cpp index ae38f0d22..a6aee5b22 100644 --- a/src/common/debug.cpp +++ b/src/common/debug.cpp @@ -215,7 +215,7 @@ static void output(bool traceInDebugOnly, MessageType messageType, DebugTraceOut { formattedMessage = FormatString(format, vararg); } - OutputDebugString(formattedMessage.c_str()); + OutputDebugStringA(formattedMessage.c_str()); } #endif