mescc: jmp_buf.

This commit is contained in:
Jan Nieuwenhuizen 2017-11-26 14:13:24 +01:00
parent 5df456f020
commit 0d45b9da6b
1 changed files with 4 additions and 0 deletions

4
tcc.h
View File

@ -768,7 +768,11 @@ struct TCCState {
void *error_opaque;
void (*error_func)(void *opaque, const char *msg);
int error_set_jmp_enabled;
#if __MESC__
__jmp_buf error_jmp_buf[1];
#else
jmp_buf error_jmp_buf;
#endif
int nb_errors;
/* output file for preprocessing (-E) */