]> git.tdb.fi Git - libs/core.git/blobdiff - source/fs/stat.h
Use the standard fixed-size integer types directly
[libs/core.git] / source / fs / stat.h
index 8c05771ebe9b85bd27b42fb4e674a4b1a1f5d2b4..e2400ed9b5a037b2a4396aa92d0fb92e01009118 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_FS_STAT_H_
 #define MSP_FS_STAT_H_
 
+#include <cstdint>
 #include <string>
 #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_t FileSize;
 
 /**
 Holds file information.