]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/rawtime.h
Add move semantics to Variant
[libs/core.git] / source / time / rawtime.h
index 4831645adb60f8d0ea401b5bc4486dbb10ad6d1b..46b3e4df6908ec3c49e93752da2a3a0668e3b3dc 100644 (file)
@@ -1,24 +1,12 @@
 #ifndef MSP_TIME_RAWTIME_H_
 #define MSP_TIME_RAWTIME_H_
 
-#ifndef WIN32
-#include <sys/time.h>
-#endif
+#include <cstdint>
 
 namespace Msp {
 namespace Time {
 
-#ifdef MSVC
-typedef __int64 RawTime;
-#else
-typedef long long RawTime;
-#endif
-
-#ifndef WIN32
-// Internal conversion utilities, not intended for public use
-timeval rawtime_to_timeval(RawTime);
-timespec rawtime_to_timespec(RawTime);
-#endif
+typedef std::int64_t RawTime;
 
 } // namespace Time
 } // namespace Msp