Use stub function gettimeofday for VxWorks

Vxworks does not have gettimeofday function, use function
implementation from qfunctions_vxworks.h/cpp instead.

Change-Id: Iad2a71c8484ba00dd9406706b1c136297260de4b
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
bb10
Pasi Petäjäjärvi 2013-01-03 16:32:13 +02:00 committed by The Qt Project
parent 2d44f879a2
commit 1309d9a9d6
1 changed files with 4 additions and 0 deletions

View File

@ -43,8 +43,12 @@
#define _POSIX_C_SOURCE 200809L
#include "qelapsedtimer.h"
#ifdef Q_OS_VXWORKS
#include "qfunctions_vxworks.h"
#else
#include <sys/time.h>
#include <time.h>
#endif
#include <unistd.h>
#include <qatomic.h>