mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Define jmpbuf_id outside of extern "C"; ref #3470
This commit is contained in:
@@ -2579,5 +2579,11 @@ mrb_top_run(mrb_state *mrb, struct RProc *proc, mrb_value self, unsigned int sta
|
||||
}
|
||||
|
||||
#if defined(MRB_ENABLE_CXX_EXCEPTION) && defined(__cplusplus)
|
||||
# if !defined(MRB_ENABLE_CXX_ABI)
|
||||
} /* end of extern "C" */
|
||||
# endif
|
||||
mrb_int mrb_jmpbuf::jmpbuf_id = 0;
|
||||
# if !defined(MRB_ENABLE_CXX_ABI)
|
||||
extern "C" {
|
||||
# endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user