@@ -1109,7 +1109,7 @@ class basic_filebuf : public std::basic_filebuf<charT, traits>
1109
1109
const basic_filebuf& operator =(const basic_filebuf&) = delete ;
1110
1110
basic_filebuf<charT, traits>* open (const path& p, std::ios_base::openmode mode)
1111
1111
{
1112
- #if defined(GHC_OS_WINDOWS) && !defined(__GNUC__ )
1112
+ #if defined(GHC_OS_WINDOWS) && !defined(__GLIBCXX__ )
1113
1113
return std::basic_filebuf<charT, traits>::open (p.wstring ().c_str (), mode) ? this : 0 ;
1114
1114
#else
1115
1115
return std::basic_filebuf<charT, traits>::open (p.string ().c_str (), mode) ? this : 0 ;
@@ -1122,7 +1122,7 @@ class basic_ifstream : public std::basic_ifstream<charT, traits>
1122
1122
{
1123
1123
public:
1124
1124
basic_ifstream () {}
1125
- #if defined(GHC_OS_WINDOWS) && !defined(__GNUC__ )
1125
+ #if defined(GHC_OS_WINDOWS) && !defined(__GLIBCXX__ )
1126
1126
explicit basic_ifstream (const path& p, std::ios_base::openmode mode = std::ios_base::in)
1127
1127
: std::basic_ifstream<charT, traits>(p.wstring().c_str(), mode)
1128
1128
{
@@ -1145,7 +1145,7 @@ class basic_ofstream : public std::basic_ofstream<charT, traits>
1145
1145
{
1146
1146
public:
1147
1147
basic_ofstream () {}
1148
- #if defined(GHC_OS_WINDOWS) && !defined(__GNUC__ )
1148
+ #if defined(GHC_OS_WINDOWS) && !defined(__GLIBCXX__ )
1149
1149
explicit basic_ofstream (const path& p, std::ios_base::openmode mode = std::ios_base::out)
1150
1150
: std::basic_ofstream<charT, traits>(p.wstring().c_str(), mode)
1151
1151
{
@@ -1168,7 +1168,7 @@ class basic_fstream : public std::basic_fstream<charT, traits>
1168
1168
{
1169
1169
public:
1170
1170
basic_fstream () {}
1171
- #if defined(GHC_OS_WINDOWS) && !defined(__GNUC__ )
1171
+ #if defined(GHC_OS_WINDOWS) && !defined(__GLIBCXX__ )
1172
1172
explicit basic_fstream (const path& p, std::ios_base::openmode mode = std::ios_base::in | std::ios_base::out)
1173
1173
: std::basic_fstream<charT, traits>(p.wstring().c_str(), mode)
1174
1174
{
0 commit comments