diff options
author | Gavin Howard <gavin@yzena.com> | 2021-07-27 11:38:49 -0600 |
---|---|---|
committer | Gavin Howard <gavin@yzena.com> | 2021-07-27 11:38:49 -0600 |
commit | 72a40ef6487989c3f6dd9dece70081eac512287a (patch) | |
tree | bf573afd3a6cf3c0d35bc5fdd5499a169d9087dc /include | |
parent | ba8b2b096986d1512222b757104a4ef0179a4f8e (diff) | |
download | platform_external_bc-72a40ef6487989c3f6dd9dece70081eac512287a.tar.gz platform_external_bc-72a40ef6487989c3f6dd9dece70081eac512287a.tar.bz2 platform_external_bc-72a40ef6487989c3f6dd9dece70081eac512287a.zip |
Fix a compile error on FreeBSD
Signed-off-by: Gavin Howard <gavin@yzena.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/program.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/program.h b/include/program.h index dc538f9c..418c2039 100644 --- a/include/program.h +++ b/include/program.h @@ -431,8 +431,8 @@ extern const char bc_program_esc_seqs[]; #define BC_PROG_LBLS_SIZE (sizeof(bc_program_inst_lbls) / sizeof(void*)) #define BC_PROG_LBLS_ASSERT \ - static_assert(BC_PROG_LBLS_SIZE == BC_INST_INVALID + 1,\ - "bc_program_inst_lbls[] mismatches the instructions") + _Static_assert(BC_PROG_LBLS_SIZE == BC_INST_INVALID + 1,\ + "bc_program_inst_lbls[] mismatches the instructions") #else // BC_C11 |