Use Q_OS_WIN instead of the non-existent Q_WS_WIN
Change-Id: Ia64908dfdb234bce5f0a2256bb292d91da2fcb68
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
#include <qv4codegen_p.h>
#include <qv4isel_masm_p.h>
-#ifndef Q_WS_WIN
+#ifndef Q_OS_WIN
# include <time.h>
# ifndef Q_OS_VXWORKS
# include <sys/time.h>
static inline double DaylightSavingTA(double t)
{
-#ifndef Q_WS_WIN
+#ifndef Q_OS_WIN
long int tt = (long int)(t / msPerSecond);
struct tm tmtm;
if (!localtime_r((const time_t*)&tt, &tmtm))
static inline double currentTime()
{
-#ifndef Q_WS_WIN
+#ifndef Q_OS_WIN
struct timeval tv;
gettimeofday(&tv, 0);
static double getLocalTZA()
{
-#ifndef Q_WS_WIN
+#ifndef Q_OS_WIN
struct tm t;
time_t curr;
time(&curr);
#include <qv4codegen_p.h>
#include <qv4isel_masm_p.h>
-#ifndef Q_WS_WIN
+#ifndef Q_OS_WIN
# include <time.h>
# ifndef Q_OS_VXWORKS
# include <sys/time.h>
#include <qv4codegen_p.h>
#include <qv4isel_masm_p.h>
-#ifndef Q_WS_WIN
+#ifndef Q_OS_WIN
# include <time.h>
# ifndef Q_OS_VXWORKS
# include <sys/time.h>
#include <qv4codegen_p.h>
#include <qv4isel_masm_p.h>
-#ifndef Q_WS_WIN
+#ifndef Q_OS_WIN
# include <time.h>
# ifndef Q_OS_VXWORKS
# include <sys/time.h>