Add #ifdefs to make the source portable to windows.  Patch contributed
by Hartmut Kaiser!


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41684 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/PrintPreprocessedOutput.cpp b/Driver/PrintPreprocessedOutput.cpp
index 3eb11b7..1cfadb3 100644
--- a/Driver/PrintPreprocessedOutput.cpp
+++ b/Driver/PrintPreprocessedOutput.cpp
@@ -73,7 +73,9 @@
 }
 
 static void OutputChar(char c) {
-#ifdef USE_STDIO
+#if defined(_MSC_VER)
+  putchar(c);
+#elif defined(USE_STDIO)
   putchar_unlocked(c);
 #else
   if (OutBufCur >= OutBufEnd)