[llvm-commits] PATCH: Guard Win32-specific sections more carefully

Stephen Hines srhines at google.com
Fri Mar 4 16:10:40 PST 2011


This patch provides a stricter check of the LLVM_ON_WIN32 define instead of
just depending on O_BINARY. The comments on these code blocks indicate this
is actually intended to be Win32-specific. This can cause problems on
systems/projects that define O_BINARY but do not have all the other
requisite functionality (like setmode).

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110304/a4775df8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm_on_win32.patch
Type: text/x-patch
Size: 1718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110304/a4775df8/attachment.bin>


More information about the llvm-commits mailing list