summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-09-25 18:14:03 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-09-25 18:14:03 +0000
commit901f3b1f2931f16f1b719dda369b51b1feadd0dd (patch)
tree847ef3f92efc487554845653b4edc74460fea3ab /src/pugixml.cpp
parente2f2280327329d4de2f3fa303bc15e5a9d7e2edb (diff)
Fixed MinGW45 in C++0x mode
git-svn-id: http://pugixml.googlecode.com/svn/trunk@755 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 4720f45..21af0d6 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;