]> git.tdb.fi Git - libs/core.git/commitdiff
Use UInt64 for FileSize
authorMikko Rasa <tdb@tdb.fi>
Wed, 24 Apr 2013 13:08:45 +0000 (16:08 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 24 Apr 2013 13:08:45 +0000 (16:08 +0300)
The MSVC define was incorrect anyway.

source/fs/stat.h

index 8c05771ebe9b85bd27b42fb4e674a4b1a1f5d2b4..3f056a5609eea802716037eb734c3d42ef51905d 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_FS_STAT_H_
 
 #include <string>
+#include <msp/core/inttypes.h>
 #include <msp/time/timestamp.h>
 #include "path.h"
 
@@ -16,11 +17,7 @@ enum FileType
        SYMLINK
 };
 
-#ifdef MSVC
-typedef __uint64 FileSize;
-#else
-typedef unsigned long long FileSize;
-#endif
+typedef UInt64 FileSize;
 
 /**
 Holds file information.