summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-20 06:16:01 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-20 06:16:01 +0000
commit4935e2356f6ac3bb3fe38cc590fa461b02ff54a7 (patch)
treea518c79253d4a5973f7786e2094eb8bc50f4ea0e /src
parent40ed1101363af0c01cd26961e23f06bf3104d6e5 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/pugixml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 315dfa8..2c0efa4 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -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);