Skip to content


use _setjmp/_longjmp on other BSD flavors
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuho committed Dec 31, 2015
1 parent f4bb329 commit 121c6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mruby/throw.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 121c6e3

Please sign in to comment.