aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/iosfwd
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2015-02-02 15:56:43 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2015-02-02 15:56:43 +0000
commitef66a6f40cacc610a2cbfc254c5395eef80c0de5 (patch)
treecb484e1bd86ec67aeda1a6a6a57bb41f789066c1 /libcxx/include/iosfwd
parent0837c2da7434594affab512220dd8e8ba7cc1cb0 (diff)
downloadllvm-ef66a6f40cacc610a2cbfc254c5395eef80c0de5.zip
llvm-ef66a6f40cacc610a2cbfc254c5395eef80c0de5.tar.gz
llvm-ef66a6f40cacc610a2cbfc254c5395eef80c0de5.tar.bz2
Revert r227804: Use fseek/ftell instead of fseeko/ftello when Newlib is the libc
This change is causing a driver crash on libcxx-libcxxabi-x86_64-linux-ubuntu-msan llvm-svn: 227806
Diffstat (limited to 'libcxx/include/iosfwd')
-rw-r--r--libcxx/include/iosfwd5
1 files changed, 0 insertions, 5 deletions
diff --git a/libcxx/include/iosfwd b/libcxx/include/iosfwd
index eccfd34..d24c227 100644
--- a/libcxx/include/iosfwd
+++ b/libcxx/include/iosfwd
@@ -180,12 +180,7 @@ typedef fpos<mbstate_t> u16streampos;
typedef fpos<mbstate_t> u32streampos;
#endif // _LIBCPP_HAS_NO_UNICODE_CHARS
-#if defined(_NEWLIB_VERSION)
-// On newlib, off_t is 'long int'
-typedef long int streamoff; // for char_traits in <string>
-#else
typedef long long streamoff; // for char_traits in <string>
-#endif
template <class _CharT, // for <stdexcept>
class _Traits = char_traits<_CharT>,