diff --git a/modules/gdscript/gdscript_vm.cpp b/modules/gdscript/gdscript_vm.cpp index 4617a0dbb9f..d8139d913a4 100644 --- a/modules/gdscript/gdscript_vm.cpp +++ b/modules/gdscript/gdscript_vm.cpp @@ -227,7 +227,7 @@ void (*type_init_function_table[])(Variant *) = { &VariantInitializer::init, // PACKED_VECTOR4_ARRAY. }; -#if defined(__GNUC__) +#if defined(__GNUC__) || defined(__clang__) #define OPCODES_TABLE \ static const void *switch_table_ops[] = { \ &&OPCODE_OPERATOR, \