diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-12-12 13:38:46 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-12-12 13:38:46 (GMT) |
commit | dcac58f473789dd07e9094e61f819aef2fbc4b4a (patch) | |
tree | 382fa689d7c3f495cd0d03e8072e4b6fd01eaa97 /src/uscxml/interpreter/BasicDelayedEventQueue.cpp | |
parent | 7b55e48d57c061bd65e7718a41bfddd90084345e (diff) | |
download | uscxml-dcac58f473789dd07e9094e61f819aef2fbc4b4a.zip uscxml-dcac58f473789dd07e9094e61f819aef2fbc4b4a.tar.gz uscxml-dcac58f473789dd07e9094e61f819aef2fbc4b4a.tar.bz2 |
Fixed the MSVC build
Diffstat (limited to 'src/uscxml/interpreter/BasicDelayedEventQueue.cpp')
-rw-r--r-- | src/uscxml/interpreter/BasicDelayedEventQueue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/interpreter/BasicDelayedEventQueue.cpp b/src/uscxml/interpreter/BasicDelayedEventQueue.cpp index 5081e05..49ed2f9 100644 --- a/src/uscxml/interpreter/BasicDelayedEventQueue.cpp +++ b/src/uscxml/interpreter/BasicDelayedEventQueue.cpp @@ -93,8 +93,8 @@ void BasicDelayedEventQueue::enqueueDelayed(const Event& event, size_t delayMs, struct event* e = event_new(_eventLoop, -1, 0, timerCallback, &_callbackData[eventUUID]); _callbackData[eventUUID].event = e; - gettimeofday(&(_callbackData[eventUUID].added), NULL); - timeradd(&delay, &_callbackData[eventUUID].added, &_callbackData[eventUUID].due); + evutil_gettimeofday(&(_callbackData[eventUUID].added), NULL); + evutil_timeradd(&delay, &_callbackData[eventUUID].added, &_callbackData[eventUUID].due); event_add(e, &delay); } |