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:
11e8b74
)
lib/Support/raw_ostream.cpp: Fix Cygwin's build.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 19 Oct 2010 01:21:55 +0000
(
01:21
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 19 Oct 2010 01:21:55 +0000
(
01:21
+0000)
setmode is provided by io.h on Cygwin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116784
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/raw_ostream.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/raw_ostream.cpp
b/lib/Support/raw_ostream.cpp
index f3bcfa1b14a51f9e7995d15e6ecf2a91eb5e7eda..dceccad161d64375e04b123e6af1214c3d42afb6 100644
(file)
--- a/
lib/Support/raw_ostream.cpp
+++ b/
lib/Support/raw_ostream.cpp
@@
-32,6
+32,10
@@
# include <fcntl.h>
#endif
+#if defined(__CYGWIN__)
+#include <io.h>
+#endif
+
#if defined(_MSC_VER)
#include <io.h>
#include <fcntl.h>