diff options
author | Julien Brianceau <jbriance@cisco.com> | 2014-08-14 11:47:47 +0200 |
---|---|---|
committer | Julien Brianceau <jbriance@cisco.com> | 2014-08-14 17:47:44 +0200 |
commit | 91e103d7571e3df88c70e0f043ccac0670191b62 (patch) | |
tree | 1d31e4e7f20cf1a2974be8b0b8012e4e9be82c42 | |
parent | a0b021d1366c772cd9c2cefcb1c47b47c35b5517 (diff) |
Fix x86/32-bit build when using an old version of gcc
Versions prior to 4.3 don't define __SIZEOF_POINTER__ macro.
Change-Id: I3144329778acd276e2fb885cb197a4532a15da70
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r-- | src/corelib/global/qprocessordetection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qprocessordetection.h b/src/corelib/global/qprocessordetection.h index c9fb728593..47d6dcd7f6 100644 --- a/src/corelib/global/qprocessordetection.h +++ b/src/corelib/global/qprocessordetection.h @@ -169,6 +169,7 @@ #elif defined(__i386) || defined(__i386__) || defined(_M_IX86) # define Q_PROCESSOR_X86_32 # define Q_BYTE_ORDER Q_LITTLE_ENDIAN +# define Q_PROCESSOR_WORDSIZE 4 /* * We define Q_PROCESSOR_X86 == 6 for anything above a equivalent or better |