From: Peter Collingbourne Date: Mon, 8 Jun 2015 02:43:32 +0000 (+0000) Subject: Fix Windows build. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3120bcb0de832751d1d46bfa45de5f0d5be4c334;p=oota-llvm.git Fix Windows build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239279 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Object/ArchiveWriter.cpp b/lib/Object/ArchiveWriter.cpp index d2c688f8933..90a736f3baf 100644 --- a/lib/Object/ArchiveWriter.cpp +++ b/lib/Object/ArchiveWriter.cpp @@ -24,7 +24,11 @@ #include "llvm/Support/ToolOutputFile.h" #include "llvm/Support/raw_ostream.h" +#if !defined(_MSC_VER) && !defined(__MINGW32__) #include +#else +#include +#endif using namespace llvm;