raw_ostream.cpp: Introduce <fcntl.h> to let O_BINARY provided. Or, llvm::outs() would...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 17 Jul 2013 02:21:10 +0000 (02:21 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 17 Jul 2013 02:21:10 +0000 (02:21 +0000)
commitf7e73accb7abe472a1febc38888133df6149cfed
treee84090be4b00509e2cd7bc1d9edaa6fc0943b133
parenta38edf071dbc76b2e0525485ea4c368cee908373
raw_ostream.cpp: Introduce <fcntl.h> to let O_BINARY provided. Or, llvm::outs() would be set to O_TEXT by default.

llvm/test/Object/check_binary_output.ll is expected to pass on win32.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186480 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/raw_ostream.cpp
test/Object/check_binary_output.ll