Ticket #5217: fstream.patch
File fstream.patch, 783 bytes (added by , 12 years ago) |
---|
-
fstream.hpp
27 27 // on Windows, except for standard libaries known to have wchar_t overloads for 28 28 // file stream I/O, use path::string() to get a narrow character c_str() 29 29 #if defined(BOOST_WINDOWS_API) \ 30 && !(defined(_CPPLIB_VER) && _CPPLIB_VER >= 405 ) // not (Dinkumware with overloads)30 && !(defined(_CPPLIB_VER) && _CPPLIB_VER >= 405 && !defined(_STLPORT_VERSION)) // not (Dinkumware with overloads) 31 31 # define BOOST_FILESYSTEM_C_STR string().c_str() // use narrow, since wide not available 32 32 #else // use the native c_str, which will be narrow on POSIX, wide on Windows 33 33 # define BOOST_FILESYSTEM_C_STR c_str()