mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-31 00:13:01 +08:00
MinGW does not have _wfopen in strict ANSI mode (fixes mingw45 C++0x compilation)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@867 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
40ed110136
commit
4935e2356f
@ -3513,7 +3513,7 @@ PUGI__NS_BEGIN
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(PUGI__MSVC_CRT_VERSION) || defined(__BORLANDC__) || defined(__MINGW32__)
|
||||
#if defined(PUGI__MSVC_CRT_VERSION) || defined(__BORLANDC__) || (defined(__MINGW32__) && !defined(__STRICT_ANSI__))
|
||||
PUGI__FN FILE* open_file_wide(const wchar_t* path, const wchar_t* mode)
|
||||
{
|
||||
return _wfopen(path, mode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user