Permalink
Browse files

use _setjmp/_longjmp on other BSD flavors

  • Loading branch information...
kazuho committed Dec 31, 2015
1 parent f4bb329 commit 121c6e30aafdc05a7b0a25b85fe663d07c1bfcab
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/mruby/throw.h
View
@@ -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

0 comments on commit 121c6e3

Please sign in to comment.