summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorAndreas Holzammer <andreas.holzammer@kdab.com>2012-06-04 13:44:26 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-04 16:43:21 +0200
commit939aa5113859768f058ed663a10e26f82a5db287 (patch)
tree0c6478d259ebbb48f54ac1fafd03c424d27f2dec /src/corelib
parente0bdcf1fc44f74cda0a8a0fe5323129eb3f09fb4 (diff)
Fix endian detection for wince
As the qsystemdetection.h is not included so Q_OS_WINCE is not defined here, so use the define from the mkspec. Change-Id: Ic170725d0da89f0c0e675c62bd2aa5c58803de9f Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/global/qprocessordetection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qprocessordetection.h b/src/corelib/global/qprocessordetection.h
index 109545c10e..f030f64443 100644
--- a/src/corelib/global/qprocessordetection.h
+++ b/src/corelib/global/qprocessordetection.h
@@ -279,7 +279,7 @@
# elif defined(__BIG_ENDIAN__)
# define Q_BYTE_ORDER Q_BIG_ENDIAN
# elif defined(__LITTLE_ENDIAN__) \
- || defined(Q_OS_WINCE) // Windows CE is always little-endian according to MSDN.
+ || defined(_WIN32_WCE) // Windows CE is always little-endian according to MSDN.
# define Q_BYTE_ORDER Q_LITTLE_ENDIAN
# else
# error "Unable to determine byte order!"