From 0c7c0aa24043b0ed9d34fe13294d1a34f1b57107 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9rgio=20Martins?= Date: Thu, 29 Aug 2013 12:11:54 +0100 Subject: [PATCH] wince: Build fix, creating stack traces is not available on this platform Keep the windows.h include as the first one. Change-Id: I8e605159bd441ab56be6310644f4aa7c7ecb6abf Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4stacktrace.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/jsruntime/qv4stacktrace.cpp b/src/qml/jsruntime/qv4stacktrace.cpp index 1cc2e53..b0fabfd 100644 --- a/src/qml/jsruntime/qv4stacktrace.cpp +++ b/src/qml/jsruntime/qv4stacktrace.cpp @@ -39,7 +39,7 @@ ** ****************************************************************************/ -#if defined(_WIN32) +#if defined(_WIN32) && !(defined(WINCE) || defined(_WIN32_WCE)) #include #include #endif @@ -67,7 +67,7 @@ NativeStackTrace::NativeStackTrace(ExecutionContext *context) UnwindHelper::prepareForUnwind(context); nativeFrameCount = backtrace(&trace[0], sizeof(trace) / sizeof(trace[0])); -#elif defined(Q_OS_WIN) +#elif defined(Q_OS_WIN) && !defined(Q_OS_WINCE) int machineType = 0; -- 2.7.4