diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-05-06 14:46:43 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-05-06 14:46:43 +0200 |
commit | b5b3a899f3418a1f477db3ce4044dda38c9cef47 (patch) | |
tree | aef7ebcf67e31e993a8d821bc8f251aac749a6f1 /cpp/src/Ice/LoggerI.cpp | |
parent | minor build fix (diff) | |
download | ice-b5b3a899f3418a1f477db3ce4044dda38c9cef47.tar.bz2 ice-b5b3a899f3418a1f477db3ce4044dda38c9cef47.tar.xz ice-b5b3a899f3418a1f477db3ce4044dda38c9cef47.zip |
Fixed WinRT build (transport re-factoring)
Diffstat (limited to 'cpp/src/Ice/LoggerI.cpp')
-rw-r--r-- | cpp/src/Ice/LoggerI.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/Ice/LoggerI.cpp b/cpp/src/Ice/LoggerI.cpp index b5e599cc638..fa39ff9e21d 100644 --- a/cpp/src/Ice/LoggerI.cpp +++ b/cpp/src/Ice/LoggerI.cpp @@ -197,7 +197,7 @@ Ice::LoggerI::write(const string& message, bool indent) } else { -#ifndef _WIN32 +#if !defined(_WIN32) || defined(ICE_OS_WINRT) cerr << s << endl; #else // @@ -225,8 +225,8 @@ Ice::LoggerI::write(const string& message, bool indent) // We cannot use cerr here as writing to console using cerr // will do its own conversion and will corrupt the messages. // - fprintf_s(stderr, "%s\n", UTF8ToCodePage(IceUtil::nativeToUTF8(_converter, s), - GetConsoleOutputCP()).c_str()); + fprintf_s(stderr, "%s\n", UTF8ToCodePage(IceUtil::nativeToUTF8(_converter, s), + GetConsoleOutputCP()).c_str()); } catch(const IceUtil::IllegalConversionException&) { |