aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4object_p.h
diff options
context:
space:
mode:
authorSérgio Martins <sergio.martins@kdab.com>2013-08-29 10:17:12 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-29 12:50:44 +0200
commite88a447dc08db341382fa82fcebb38e2579f5d5c (patch)
treedd4b4d6fef2f7ce497d7d4f179c747e9cdcc6498 /src/qml/jsruntime/qv4object_p.h
parent75156b3c213463b240269987e23b5834ede77886 (diff)
wince: Build fix, assert() is not present in this platform.
Change-Id: Ib29f1411b9829bc9bf6a94e4fb23a33f955ee1b2 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4object_p.h')
-rw-r--r--src/qml/jsruntime/qv4object_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h
index ce3a271342..d40720b515 100644
--- a/src/qml/jsruntime/qv4object_p.h
+++ b/src/qml/jsruntime/qv4object_p.h
@@ -58,6 +58,11 @@
#include <cstdio>
#include <cassert>
+#ifdef _WIN32_WCE
+#undef assert
+#define assert(x)
+#endif // _WIN32_WCE
+
QT_BEGIN_NAMESPACE
namespace QV4 {