[libc++] Add configuration define for off_t functions
authorShoaib Meenai <smeenai@fb.com>
Mon, 31 Oct 2016 15:09:10 +0000 (15:09 +0000)
committerShoaib Meenai <smeenai@fb.com>
Mon, 31 Oct 2016 15:09:10 +0000 (15:09 +0000)
commit73aa38dfb38f560e614664f64a650cf3a084b527
tree46bd0aeae5a152594634749f577f3d702aefcda8
parentaa800837d3a1e649edcc4bf5121a494f887c4b60
[libc++] Add configuration define for off_t functions

Create this define in __config and use it elsewhere, instead of checking
the operating system/library defines in other files. The aim is to
reduce the usage of _WIN32 outside __config. No functional change.

Differential Revision: https://reviews.llvm.org/D25741

llvm-svn: 285582
libcxx/include/__config
libcxx/include/fstream