From 780b81a59f28c411b3a1adea217a59e1cdb4458b Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 13 May 2018 21:09:49 +0100 Subject: Allow for NO_DEFAULT_STRUCT_VALUES (will decide later if I want them or not) --- src/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir.cpp') diff --git a/src/ir.cpp b/src/ir.cpp index 25e0888dd..81f88e8c9 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -684,7 +684,7 @@ Type *ir_type(irValue *value) { bool ir_type_has_default_values(Type *t) { -#if 1 +#if !defined(NO_DEFAULT_STRUCT_VALUES) switch (t->kind) { case Type_Named: return ir_type_has_default_values(t->Named.base); -- cgit v1.2.3