diff options
author | Sérgio Martins <sergio.martins@kdab.com> | 2013-08-28 08:44:52 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-28 11:00:51 +0200 |
commit | 8ecb5288c96ede33970536d0f819c16a78f18238 (patch) | |
tree | c54bdfe991b3526f1aa0dfe187c7f5438a658b60 /src/qml/compiler/qv4jsir.cpp | |
parent | fb608dfa5b6b8a6467ae6a7ff106c9182598169b (diff) |
wince: Build fix, CONST conflicts with Windows macros.
Don't #undef system macros in header files, they propagate quickly
through other headers and make it very difficult to fix these problems.
Change-Id: Id5efdfa69d0eefa8c740b14f839194039bd9752b
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4jsir.cpp')
-rw-r--r-- | src/qml/compiler/qv4jsir.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4jsir.cpp b/src/qml/compiler/qv4jsir.cpp index 5ad5cf0131..0dacaabc63 100644 --- a/src/qml/compiler/qv4jsir.cpp +++ b/src/qml/compiler/qv4jsir.cpp @@ -48,6 +48,10 @@ #include <cmath> #include <cassert> +#ifdef CONST +#undef CONST +#endif + QT_BEGIN_NAMESPACE namespace QQmlJS { |