X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ftime%2Frawtime.h;h=46b3e4df6908ec3c49e93752da2a3a0668e3b3dc;hp=4831645adb60f8d0ea401b5bc4486dbb10ad6d1b;hb=HEAD;hpb=967785734be5c3fc6f75da122c2d93ebbb338271 diff --git a/source/time/rawtime.h b/source/time/rawtime.h index 4831645..46b3e4d 100644 --- a/source/time/rawtime.h +++ b/source/time/rawtime.h @@ -1,24 +1,12 @@ #ifndef MSP_TIME_RAWTIME_H_ #define MSP_TIME_RAWTIME_H_ -#ifndef WIN32 -#include -#endif +#include namespace Msp { namespace Time { -#ifdef MSVC -typedef __int64 RawTime; -#else -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 +typedef std::int64_t RawTime; } // namespace Time } // namespace Msp