From 901f3b1f2931f16f1b719dda369b51b1feadd0dd Mon Sep 17 00:00:00 2001
From: "arseny.kapoulkine"
 <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>
Date: Sat, 25 Sep 2010 18:14:03 +0000
Subject: [PATCH] Fixed MinGW45 in C++0x mode

git-svn-id: http://pugixml.googlecode.com/svn/trunk@755 99668b35-9821-0410-8761-19e4c4f06640
---
 src/pugixml.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 4720f453..21af0d69 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -3055,7 +3055,7 @@ namespace
 		_fseeki64(file, 0, SEEK_END);
 		length_type length = _ftelli64(file);
 		_fseeki64(file, 0, SEEK_SET);
-	#elif defined(__MINGW32__) && !defined(__NO_MINGW_LFS)
+	#elif defined(__MINGW32__) && !defined(__NO_MINGW_LFS) && !defined(__STRICT_ANSI__)
 		// there are 64-bit versions of fseek/ftell, let's use them
 		typedef off64_t length_type;
 
-- 
GitLab