-/* $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