projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee2e3d0
)
Fix Windows build.
author
Peter Collingbourne
<peter@pcc.me.uk>
Mon, 8 Jun 2015 02:43:32 +0000
(
02:43
+0000)
committer
Peter Collingbourne
<peter@pcc.me.uk>
Mon, 8 Jun 2015 02:43:32 +0000
(
02:43
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239279
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Object/ArchiveWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/Object/ArchiveWriter.cpp
b/lib/Object/ArchiveWriter.cpp
index d2c688f89337a9e1e20303411377fb9c5d41ee71..90a736f3baf4e042637a1705ceb3d0f6d11a345a 100644
(file)
--- 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 <unistd.h>
+#else
+#include <io.h>
+#endif
using namespace llvm;