diff options
| author | gingerBill <bill@gingerbill.org> | 2018-05-13 21:09:49 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-05-13 21:09:49 +0100 |
| commit | 780b81a59f28c411b3a1adea217a59e1cdb4458b (patch) | |
| tree | 89513b1e459fc659c795e4daaa3d22845cd2d8b5 /src/ir.cpp | |
| parent | 9f1dda701d3cc7d235619d61443c1872f79cbb63 (diff) | |
Allow for NO_DEFAULT_STRUCT_VALUES
(will decide later if I want them or not)
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |