Keep the windows.h include as the first one.
Change-Id: I8e605159bd441ab56be6310644f4aa7c7ecb6abf
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
**
****************************************************************************/
-#if defined(_WIN32)
+#if defined(_WIN32) && !(defined(WINCE) || defined(_WIN32_WCE))
#include <windows.h>
#include <DbgHelp.h>
#endif
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;