X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftime%2Frawtime_private.h;h=846a712f70bb48614e300555510f4ec9a191b7bf;hb=b4806214e905752617691f851717033fd3f266c2;hp=566d5a61589e7fa85c6f12b090f2ab8eb78608fc;hpb=03bacb2343eb5d17819732582c0866f087e9ce27;p=libs%2Fcore.git diff --git a/source/time/rawtime_private.h b/source/time/rawtime_private.h index 566d5a6..846a712 100644 --- a/source/time/rawtime_private.h +++ b/source/time/rawtime_private.h @@ -1,7 +1,9 @@ #ifndef MSP_TIME_RAWTIME_PRIVATE_H_ #define MSP_TIME_RAWTIME_PRIVATE_H_ -#ifndef WIN32 +#ifdef WIN32 +#include +#else #include #endif #include "rawtime.h" @@ -9,10 +11,12 @@ namespace Msp { namespace Time { -#ifndef WIN32 -// Internal conversion utilities, not intended for public use +#ifdef WIN32 +RawTime filetime_to_rawtime(const FILETIME &); +#else timeval rawtime_to_timeval(RawTime); timespec rawtime_to_timespec(RawTime); +RawTime timeval_to_rawtime(const timeval &); #endif } // namespace Time