Fix QT_POINTER_SIZE on WinRT x64

Q_OS_WIN64 is not defined for WinRT, so make sure the pointer size is
correct.

Change-Id: I5a55bfd7edbfd23e0eab50fa31a76faa9e383a8d
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
bb10
Andrew Knight 2013-09-30 08:20:24 +03:00 committed by The Qt Project
parent 19088c831a
commit 3649a6e61d
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ typedef qint64 qlonglong;
typedef quint64 qulonglong;
#ifndef QT_POINTER_SIZE
# if defined(Q_OS_WIN64)
# if defined(Q_OS_WIN64) || (defined(Q_OS_WINRT) && defined(_M_X64))
# define QT_POINTER_SIZE 8
# elif defined(Q_OS_WIN32) || defined(Q_OS_WINCE) || defined(Q_OS_WINRT)
# define QT_POINTER_SIZE 4