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
This commit is contained in:
NAKAMURA Takumi 2010-10-19 01:21:55 +00:00
parent 11e8b74a7a
commit 1b5de0e7ee

View File

@ -32,6 +32,10 @@
# include <fcntl.h> # include <fcntl.h>
#endif #endif
#if defined(__CYGWIN__)
#include <io.h>
#endif
#if defined(_MSC_VER) #if defined(_MSC_VER)
#include <io.h> #include <io.h>
#include <fcntl.h> #include <fcntl.h>