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).<div>
<br></div><div>Steve</div>