]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/rawtime.h
Prefer inttypes.h to doing the #ifdef dance everywhere
[libs/core.git] / source / time / rawtime.h
index 76524509990986fd55b0eaa78a9cd366bee95c00..1af7956f25c09a5bb0103cb3e8f1b08b3094fbef 100644 (file)
@@ -1,14 +1,12 @@
 #ifndef MSP_TIME_RAWTIME_H_
 #define MSP_TIME_RAWTIME_H_
 
+#include <msp/core/inttypes.h>
+
 namespace Msp {
 namespace Time {
 
-#ifdef MSVC
-typedef __int64 RawTime;
-#else
-typedef long long RawTime;
-#endif
+typedef Int64 RawTime;
 
 } // namespace Time
 } // namespace Msp