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>
This commit is contained in:
Julien Brianceau 2014-08-14 11:47:47 +02:00
parent a0b021d136
commit 91e103d757

View File

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