- Misc janitorial fixes by Brezenbak to fix some MSVC compile errors.
[reactos.git] / reactos / ntoskrnl / io / bootlog.c
index ed9adaa..421e568 100644 (file)
@@ -310,8 +310,11 @@ IopSaveBootLogToFile(VOID)
       ExReleaseResourceLite(&IopBootLogResource);
       return;
     }
-
+#if defined (__GNUC__)
   Status = IopWriteLogFile(L"ReactOS "KERNEL_VERSION_STR);
+#elif defined (_MSC_VER)
+  Status = IopWriteLogFile("ReactOS "KERNEL_VERSION_STR);
+#endif
   if (!NT_SUCCESS(Status))
     {
       DPRINT1("IopWriteLogFile() failed (Status %lx)\n", Status);