bootstrappable: ARM: HAVE_SETJMP.

This commit is contained in:
Jan (janneke) Nieuwenhuizen 2021-11-29 13:08:46 +01:00
parent f35ddb111e
commit 93f8a7fcd6
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 4 additions and 0 deletions

View File

@ -629,7 +629,11 @@ static int tcc_compile(TCCState *s1)
Sym *define_start;
define_start = define_stack;
#if HAVE_SETJMP
if (setjmp(s1->error_jmp_buf) == 0) {
#else
if (1) {
#endif
s1->nb_errors = 0;
s1->error_set_jmp_enabled = 1;