qglobal: Only define QT_ENSURE_STACK_ALIGNED_FOR_SSE for i386
This define is only supposed to be used for i386, but was set for any 32 bit mingw architecture (which also covers armv7). Change-Id: Iedc057dfc493015e8339db837dbe20a57c2b2367 Pick-to: 5.15 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
3e13fd43df
commit
317145af84
|
|
@ -611,7 +611,7 @@ using qsizetype = QIntegerForSizeof<std::size_t>::Signed;
|
|||
//defines the type for the WNDPROC on windows
|
||||
//the alignment needs to be forced for sse2 to not crash with mingw
|
||||
#if defined(Q_OS_WIN)
|
||||
# if defined(Q_CC_MINGW) && !defined(Q_OS_WIN64)
|
||||
# if defined(Q_CC_MINGW) && defined(Q_PROCESSOR_X86_32)
|
||||
# define QT_ENSURE_STACK_ALIGNED_FOR_SSE __attribute__ ((force_align_arg_pointer))
|
||||
# else
|
||||
# define QT_ENSURE_STACK_ALIGNED_FOR_SSE
|
||||
|
|
|
|||
Loading…
Reference in New Issue