Define kwsys_ios_binary macro for std::ios::binary
The 'binary' openmode does not exist on all compilers. We define macro <kwsys>_ios_binary, where <kwsys> is the KWSys namespace, to refer to std::ios::binary if it exists and 0 otherwise. Sample usage: kwsys_ios::ifstream fin(fn, kwsys_ios::ios::in | kwsys_ios_binary);
Showing
- CMakeLists.txt 5 additions, 0 deletionsCMakeLists.txt
- Configure.hxx.in 12 additions, 0 deletionsConfigure.hxx.in
- kwsysDateStamp.cmake 1 addition, 1 deletionkwsysDateStamp.cmake
- kwsysPlatformTestsCXX.cxx 11 additions, 0 deletionskwsysPlatformTestsCXX.cxx
- testIOS.cxx 9 additions, 0 deletionstestIOS.cxx
Please register or sign in to comment