diff --git a/src/corelib/arch/arch.pri b/src/corelib/arch/arch.pri index c611087043..a178c24366 100644 --- a/src/corelib/arch/arch.pri +++ b/src/corelib/arch/arch.pri @@ -16,7 +16,7 @@ HEADERS += \ arch/qatomic_s390.h \ arch/qatomic_sh4a.h \ arch/qatomic_sparc.h \ - arch/qatomic_x86_64.h \ + arch/qatomic_x86.h \ arch/qatomic_gcc.h \ arch/qatomic_cxx11.h diff --git a/src/corelib/arch/qatomic_x86_64.h b/src/corelib/arch/qatomic_x86.h similarity index 100% rename from src/corelib/arch/qatomic_x86_64.h rename to src/corelib/arch/qatomic_x86.h diff --git a/src/corelib/thread/qbasicatomic.h b/src/corelib/thread/qbasicatomic.h index 01a69dbd8b..8bac8d8a5f 100644 --- a/src/corelib/thread/qbasicatomic.h +++ b/src/corelib/thread/qbasicatomic.h @@ -82,8 +82,8 @@ # include "QtCore/qatomic_sparc.h" #elif defined(Q_PROCESSOR_X86_32) # include -#elif defined(Q_PROCESSOR_X86_64) -# include +#elif defined(Q_PROCESSOR_X86) +# include // Fallback compiler dependent implementation #elif defined(Q_COMPILER_ATOMICS) && defined(Q_COMPILER_CONSTEXPR)