diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-09-29 09:39:33 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-03 07:57:41 +0200 |
commit | f18b690cca2de6c75e70a2fd5871edf9fa993a5e (patch) | |
tree | 7884c18b46777aa0af313f4a1ee0993f82ba1152 /tests/auto/corelib/tools/qstringref/tst_qstringref.cpp | |
parent | c3d9d3698674a2240aa97403e3b684894d6f19db (diff) |
Tests: Fix compilation on Windows.
Replace Q_WS_... by Q_OS_... in corelib tests.
Change-Id: I14c41dca1ec490b3c49ba2c24e60def14c6de9da
Reviewed-on: http://codereview.qt-project.org/5778
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/tools/qstringref/tst_qstringref.cpp')
-rw-r--r-- | tests/auto/corelib/tools/qstringref/tst_qstringref.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/tools/qstringref/tst_qstringref.cpp b/tests/auto/corelib/tools/qstringref/tst_qstringref.cpp index dbf8ee73fc..2697058f2a 100644 --- a/tests/auto/corelib/tools/qstringref/tst_qstringref.cpp +++ b/tests/auto/corelib/tools/qstringref/tst_qstringref.cpp @@ -102,7 +102,7 @@ Q_DECLARE_METATYPE(IntList) #include <float.h> #include <limits.h> #include <math.h> -#if defined(Q_WS_WIN) +#if defined(Q_OS_WIN) # include <windows.h> // mingw defines NAN and INFINITY to 0/0 and x/0 # if defined(Q_CC_GNU) |