1 #include "libplatform/impl.h"
2 #include <sys/timeb.h>
3 
4 namespace mp4v2 { namespace platform { namespace time {
5 
6 ///////////////////////////////////////////////////////////////////////////////
7 
8 milliseconds_t
getLocalTimeMilliseconds()9 getLocalTimeMilliseconds()
10 {
11     __timeb64 buf;
12     _ftime64( &buf );
13     return milliseconds_t( buf.time ) * 1000 + buf.millitm;
14 }
15 
16 ///////////////////////////////////////////////////////////////////////////////
17 
18 }}} // namespace mp4v2::platform::time
19