commit | 1b5de0e7ee9e604d041cda1af544e27971ebeb81 | [log] [tgz] |
---|---|---|
author | NAKAMURA Takumi <geek4civic@gmail.com> | Tue Oct 19 01:21:55 2010 +0000 |
committer | NAKAMURA Takumi <geek4civic@gmail.com> | Tue Oct 19 01:21:55 2010 +0000 |
tree | c93822752e2813410a8356e34d6bcb5b23701385 | |
parent | 11e8b74a7ae9ecd59b64180a59143e39bc3b9514 [diff] [blame] |
lib/Support/raw_ostream.cpp: Fix Cygwin's build. 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
diff --git a/lib/Support/raw_ostream.cpp b/lib/Support/raw_ostream.cpp index f3bcfa1..dceccad 100644 --- 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>