use _setjmp/_longjmp on other BSD flavors

This commit is contained in:
Kazuho Oku
2016-01-01 06:48:53 +09:00
parent f4bb329c74
commit 121c6e30aa
+1 -1
View File
@@ -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