]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/rawtime.h
Drop copyright and license notices from source files
[libs/core.git] / source / time / rawtime.h
index afa3c949a08221088fbe5965c708c6b3f6a4e294..4831645adb60f8d0ea401b5bc4486dbb10ad6d1b 100644 (file)
@@ -1,24 +1,23 @@
-/* $Id$
-
-This file is part of libmspcore     
-Copyright © 2006,2008  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_TIME_RAWTIME_H_
 #define MSP_TIME_RAWTIME_H_
 
 #ifndef WIN32
-#include <stdint.h>
+#include <sys/time.h>
 #endif
 
 namespace Msp {
 namespace Time {
 
-#ifdef WIN32
+#ifdef MSVC
 typedef __int64 RawTime;
 #else
-typedef int64_t RawTime;
+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
 
 } // namespace Time