Skip to content

Commit f74fcdd

Browse files
committed
Revert r289184, we need more configury for Darwin and *BSD.
llvm-svn: 289185
1 parent 08ba509 commit f74fcdd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

llvm/lib/Support/raw_ostream.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -598,11 +598,7 @@ void raw_fd_ostream::close() {
598598
uint64_t raw_fd_ostream::seek(uint64_t off) {
599599
assert(SupportsSeeking && "Stream does not support seeking!");
600600
flush();
601-
#ifdef LLVM_ON_WIN32
602-
pos = ::_lseeki64(FD, off, SEEK_SET);
603-
#else
604-
pos = ::lseek64(FD, off, SEEK_SET);
605-
#endif
601+
pos = ::lseek(FD, off, SEEK_SET);
606602
if (pos == (uint64_t)-1)
607603
error_detected();
608604
return pos;

0 commit comments

Comments
 (0)