]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/types.h
Make to_unixtime const
[libs/core.git] / source / time / types.h
index 0d09ac8c7718af0831d6a4169e250126b633bdba..89c740557ca7c95bf327698a2563a147438ab7cf 100644 (file)
@@ -1,12 +1,25 @@
+/* $Id$
+
+This file is part of libmspcore     
+Copyright © 2006,2008  Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #ifndef MSP_TIME_TYPES_H_
 #define MSP_TIME_TYPES_H_
 
+#ifndef WIN32
 #include <stdint.h>
+#endif
 
 namespace Msp {
 namespace Time {
 
+#ifdef WIN32
+typedef __int64 RawTime;
+#else
 typedef int64_t RawTime;
+#endif
 
 } // namespace Time
 } // namespace Msp