File boost-filesystem_fstream_wchar.patch of Package mingw32-boost166

diff --git a/boost/filesystem/fstream.hpp b/boost/filesystem/fstream.hpp
index 0727238..abcf9a5 100644
--- a/boost/filesystem/fstream.hpp
+++ b/boost/filesystem/fstream.hpp
@@ -26,13 +26,7 @@
 
 //  on Windows, except for standard libaries known to have wchar_t overloads for
 //  file stream I/O, use path::string() to get a narrow character c_str()
-#if defined(BOOST_WINDOWS_API) \
-  && (!defined(_CPPLIB_VER) || _CPPLIB_VER < 405 || defined(_STLPORT_VERSION))
-  // !Dinkumware || early Dinkumware || STLPort masquerading as Dinkumware
-# define BOOST_FILESYSTEM_C_STR string().c_str()  // use narrow, since wide not available
-#else  // use the native c_str, which will be narrow on POSIX, wide on Windows
 # define BOOST_FILESYSTEM_C_STR c_str()
-#endif
 
 namespace boost
 {
openSUSE Build Service is sponsored by