]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/types.h
MSVC compatibility fixes
[libs/core.git] / source / time / types.h
index 0d09ac8c7718af0831d6a4169e250126b633bdba..1befb9b72d0a30946659b0bf1c8dee83b4fc2884 100644 (file)
@@ -1,12 +1,18 @@
 #ifndef MSP_TIME_TYPES_H_
 #define MSP_TIME_TYPES_H_
 
+#ifndef WIN32
 #include <stdint.h>
+#endif
 
 namespace Msp {
 namespace Time {
 
+#ifdef WIN32
+typedef __int64 RawTime;
+#else
 typedef int64_t RawTime;
+#endif
 
 } // namespace Time
 } // namespace Msp