mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
use _setjmp/_longjmp on other BSD flavors
This commit is contained in:
@@ -20,7 +20,7 @@ typedef mrb_int mrb_jmpbuf_impl;
|
||||
|
||||
#include <setjmp.h>
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#define MRB_SETJMP _setjmp
|
||||
#define MRB_LONGJMP _longjmp
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user