match #ifdefs relating to arm compilation

use the same conditional around the #include as the actual code below
uses, otherwise we risk mismatches.

Change-Id: I8ca32c0178b1970928626a927948b06d4c6d31b9
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Oswald Buddenhagen 2013-03-14 17:37:15 +01:00 committed by The Qt Project
parent f226e7e631
commit fa62b6c73e

View File

@ -54,7 +54,7 @@
# include <intrin.h>
# endif
# endif
#elif defined(Q_OS_LINUX) && defined(__arm__)
#elif defined(Q_OS_LINUX) && (defined(Q_PROCESSOR_ARM) || defined(QT_COMPILER_SUPPORTS_IWMMXT) || defined(QT_COMPILER_SUPPORTS_NEON))
#include "private/qcore_unix_p.h"
// the kernel header definitions for HWCAP_*