[llvm-commits] [llvm] r116784 - /llvm/trunk/lib/Support/raw_ostream.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Mon Oct 18 18:21:55 PDT 2010
Author: chapuni
Date: Mon Oct 18 20:21:55 2010
New Revision: 116784
URL: http://llvm.org/viewvc/llvm-project?rev=116784&view=rev
Log:
lib/Support/raw_ostream.cpp: Fix Cygwin's build.
setmode is provided by io.h on Cygwin.
Modified:
llvm/trunk/lib/Support/raw_ostream.cpp
Modified: llvm/trunk/lib/Support/raw_ostream.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/raw_ostream.cpp?rev=116784&r1=116783&r2=116784&view=diff
==============================================================================
--- llvm/trunk/lib/Support/raw_ostream.cpp (original)
+++ llvm/trunk/lib/Support/raw_ostream.cpp Mon Oct 18 20:21:55 2010
@@ -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>
More information about the llvm-commits
mailing list