#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
#include <QMap>
#include <QMutex>
-#define __USE_GNU
-#include <dlfcn.h>
-
QT_BEGIN_NAMESPACE
namespace QV4 {
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,