Index: src/platform-win32.cc |
diff --git a/src/platform-win32.cc b/src/platform-win32.cc |
index 49cbcbbfbaa3395b022c26252b2c3644a9075a11..7177870223b6cd9850162e7f62a5ecef4aac53f1 100644 |
--- a/src/platform-win32.cc |
+++ b/src/platform-win32.cc |
@@ -683,6 +683,10 @@ FILE* OS::FOpen(const char* path, const char* mode) { |
} |
+// Open log file in binary mode to avoid /n -> /r/n conversion. |
+const char* OS::LogFileOpenMode = "wb"; |
+ |
+ |
// Print (debug) message to console. |
void OS::Print(const char* format, ...) { |
va_list args; |