]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/rawtime.h
Isolate platform-dependent RawTime conversion functions to a private header
[libs/core.git] / source / time / rawtime.h
index afa3c949a08221088fbe5965c708c6b3f6a4e294..76524509990986fd55b0eaa78a9cd366bee95c00 100644 (file)
@@ -1,24 +1,13 @@
-/* $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>
-#endif
-
 namespace Msp {
 namespace Time {
 
-#ifdef WIN32
+#ifdef MSVC
 typedef __int64 RawTime;
 #else
-typedef int64_t RawTime;
+typedef long long RawTime;
 #endif
 
 } // namespace Time