]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/rawtime.h
Move non-oneliner functions out of RefPtr class declaration
[libs/core.git] / source / time / rawtime.h
index 4831645adb60f8d0ea401b5bc4486dbb10ad6d1b..1af7956f25c09a5bb0103cb3e8f1b08b3094fbef 100644 (file)
@@ -1,24 +1,12 @@
 #ifndef MSP_TIME_RAWTIME_H_
 #define MSP_TIME_RAWTIME_H_
 
-#ifndef WIN32
-#include <sys/time.h>
-#endif
+#include <msp/core/inttypes.h>
 
 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 Int64 RawTime;
 
 } // namespace Time
 } // namespace Msp