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>
bb10
Andreas Holzammer 2012-06-04 13:44:26 +02:00 committed by Qt by Nokia
parent e0bdcf1fc4
commit 939aa51138
1 changed files with 1 additions and 1 deletions

View File

@ -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!"