mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-30 08:38:15 +01:00
Replaced uint64_t by __int64 for better support on windows
This commit is contained in:
parent
becf80444c
commit
71e0fb8621
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class EventImpl : virtual public Arabica::DOM::Events::Event_impl<stringT, strin
|
|||
#ifdef _WIN32
|
||||
FILETIME tv;
|
||||
GetSystemTimeAsFileTime(&tv);
|
||||
time = (((uint64_t) tv.dwHighDateTime) << 32) + tv.dwLowDateTime;
|
||||
time = (((__int64) tv.dwHighDateTime) << 32) + tv.dwLowDateTime;
|
||||
time /= 10000;
|
||||
#else
|
||||
struct timeval tv;
|
||||
|
|
Loading…
Add table
Reference in a new issue