Fixed MinGW45 in C++0x mode

git-svn-id: http://pugixml.googlecode.com/svn/trunk@755 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2010-09-25 18:14:03 +00:00
parent e2f2280327
commit 901f3b1f29

View file

@ -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;