diff options
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); } |