mirror of
https://github.com/godotengine/godot.git
synced 2024-10-22 21:21:53 +00:00
Enable use of Labels as Values feature in Clang when not wrapped by GCC
This commit is contained in:
parent
f4af8201ba
commit
f14af8b2d5
|
@ -227,7 +227,7 @@ void (*type_init_function_table[])(Variant *) = {
|
|||
&VariantInitializer<PackedVector4Array>::init, // PACKED_VECTOR4_ARRAY.
|
||||
};
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#define OPCODES_TABLE \
|
||||
static const void *switch_table_ops[] = { \
|
||||
&&OPCODE_OPERATOR, \
|
||||
|
|
Loading…
Reference in New Issue
Block a user