diff options
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index c1beca132..5e0485803 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -81,6 +81,9 @@ Logger::Logger() : mDebugLog(false), mReportUnimplimented(false) { +#if defined __native_client__ && defined(NACL_LOG) + std::cout.setf(std::ios_base::unitbuf); +#endif } Logger::~Logger() |