diff options
-rw-r--r-- | src/qml/qml/v4/qv4unwindhelper.cpp | 2 | ||||
-rw-r--r-- | src/qml/qml/v4/qv4unwindhelper_p-dw2.h | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/qml/qml/v4/qv4unwindhelper.cpp b/src/qml/qml/v4/qv4unwindhelper.cpp index af7f352f96..beb5132626 100644 --- a/src/qml/qml/v4/qv4unwindhelper.cpp +++ b/src/qml/qml/v4/qv4unwindhelper.cpp @@ -45,7 +45,7 @@ #if CPU(X86_64) && (OS(LINUX) || OS(MAC_OS_X)) # define USE_DW2_HELPER -#elif CPU(X86) && OS(LINUX) +#elif CPU(X86) && COMPILER(GCC) # define USE_DW2_HELPER #elif CPU(ARM) && (OS(LINUX) || OS(QNX)) # define USE_ARM_HELPER diff --git a/src/qml/qml/v4/qv4unwindhelper_p-dw2.h b/src/qml/qml/v4/qv4unwindhelper_p-dw2.h index 1abcfbaade..57615f0999 100644 --- a/src/qml/qml/v4/qv4unwindhelper_p-dw2.h +++ b/src/qml/qml/v4/qv4unwindhelper_p-dw2.h @@ -52,9 +52,6 @@ #include <QMap> #include <QMutex> -#define __USE_GNU -#include <dlfcn.h> - QT_BEGIN_NAMESPACE namespace QV4 { @@ -75,7 +72,7 @@ static const unsigned char cie_fde_data[] = { static const int fde_offset = 20; static const int initial_location_offset = 28; static const int address_range_offset = 36; -#elif CPU(X86) && OS(LINUX) +#elif CPU(X86) static const unsigned char cie_fde_data[] = { 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x4, 0x7c, 0x8, 0xc, 0x4, 0x4, |