From 1b78dcc0024566727768d545917255bc80f0df00 Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Mon, 24 Jan 2011 21:54:41 +0100 Subject: [PATCH] Some versions of Clang do not allow computed gotos. --- src/h/bytecodes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/h/bytecodes.h b/src/h/bytecodes.h index d9fb9d9fc..abd596a81 100644 --- a/src/h/bytecodes.h +++ b/src/h/bytecodes.h @@ -150,7 +150,7 @@ typedef int16_t cl_oparg; * NOTE: We cannot use this in Solaris because GCC erroneously produces * relocation tables. */ -#if (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +#if (defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(__clang__)) #define ECL_THREADED_INTERPRETER # if defined(__sun__) && (FIXNUM_BITS > 32) # undef ECL_THREADED_INTERPRETER