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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I like this; I would like to see no mentions of _WIN32 outside of <__config>.
That being said, we usually write things in the negative in libc++.
So the flag would be _LIBCPP_HAS_NO_OFF_T_FUNCTIONS, and the tests would be #ifdef _LIBCPP_HAS_NO_OFF_T_FUNCTIONS