]> git.tdb.fi Git - libs/core.git/commitdiff
Use 64-bit version of stat syscall, even on 32-bit systems
authorMikko Rasa <tdb@tdb.fi>
Sun, 31 Jul 2011 15:36:16 +0000 (18:36 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 31 Jul 2011 15:36:16 +0000 (18:36 +0300)
source/fs/stat.cpp

index 245dd4ea9e05e4510768343ad8a5ff62a066313f..b0267d8771d08586645261b7a775c3a991f16aeb 100644 (file)
@@ -2,6 +2,7 @@
 #include <windows.h>
 #include <aclapi.h>
 #else
+#define _FILE_OFFSET_BITS 64
 #include <sys/stat.h>
 #include <grp.h>
 #include <pwd.h>