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:
parent
e2f2280327
commit
901f3b1f29
@ -3055,7 +3055,7 @@ namespace
|
|||||||
_fseeki64(file, 0, SEEK_END);
|
_fseeki64(file, 0, SEEK_END);
|
||||||
length_type length = _ftelli64(file);
|
length_type length = _ftelli64(file);
|
||||||
_fseeki64(file, 0, SEEK_SET);
|
_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
|
// there are 64-bit versions of fseek/ftell, let's use them
|
||||||
typedef off64_t length_type;
|
typedef off64_t length_type;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user