Some versions of Clang do not allow computed gotos.

This commit is contained in:
Juan Jose Garcia Ripoll 2011-01-24 21:54:41 +01:00
parent 24d5030c77
commit 1b78dcc002

View file

@ -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