From: Mikko Rasa Date: Sat, 28 May 2011 12:25:46 +0000 (+0300) Subject: Rename time/types.h to rawtime.h X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=1e54e9f4b8cd32db5c224f971207aedee8bbe3dd;p=libs%2Fcore.git Rename time/types.h to rawtime.h --- diff --git a/source/time/datetime.h b/source/time/datetime.h index 7c2a349..dcd0b9a 100644 --- a/source/time/datetime.h +++ b/source/time/datetime.h @@ -10,7 +10,7 @@ Distributed under the LGPL #include #include "timezone.h" -#include "types.h" +#include "rawtime.h" namespace Msp { namespace Time { diff --git a/source/time/rawtime.h b/source/time/rawtime.h new file mode 100644 index 0000000..afa3c94 --- /dev/null +++ b/source/time/rawtime.h @@ -0,0 +1,27 @@ +/* $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 +#endif + +namespace Msp { +namespace Time { + +#ifdef WIN32 +typedef __int64 RawTime; +#else +typedef int64_t RawTime; +#endif + +} // namespace Time +} // namespace Msp + +#endif diff --git a/source/time/timedelta.h b/source/time/timedelta.h index 631c4b0..0a9ddd9 100644 --- a/source/time/timedelta.h +++ b/source/time/timedelta.h @@ -11,7 +11,7 @@ Distributed under the LGPL #include #include #include -#include "types.h" +#include "rawtime.h" namespace Msp { namespace Time { diff --git a/source/time/timestamp.h b/source/time/timestamp.h index 64309ce..5dcb076 100644 --- a/source/time/timestamp.h +++ b/source/time/timestamp.h @@ -9,7 +9,7 @@ Distributed under the LGPL #define MSP_TIME_TIMESTAMP_H_ #include "timedelta.h" -#include "types.h" +#include "rawtime.h" namespace Msp { namespace Time { diff --git a/source/time/types.h b/source/time/types.h deleted file mode 100644 index 89c7405..0000000 --- a/source/time/types.h +++ /dev/null @@ -1,27 +0,0 @@ -/* $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 -#endif - -namespace Msp { -namespace Time { - -#ifdef WIN32 -typedef __int64 RawTime; -#else -typedef int64_t RawTime; -#endif - -} // namespace Time -} // namespace Msp - -#endif