diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-04 13:54:53 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-02-04 13:54:53 +0000 |
commit | 1d2a56a60aa9b82a1b0ff8d6378cb854bbc5f174 (patch) | |
tree | 381976f139dec3b7de319407ee54172146a5c200 /eval.c | |
parent | 086e235f035d44c3554cab364cd70644e537a919 (diff) | |
download | ruby-1d2a56a60aa9b82a1b0ff8d6378cb854bbc5f174.tar.gz |
* eval.c: apply the FreeBSD getcontext/setcontext workaround
only before FreeBSD 7-CURRENT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,7 +169,7 @@ int function_call_may_return_twice_false_2 = 0; (function_call_may_return_twice_false_2 ? \ setjmp(function_call_may_return_twice_jmp_buf) : \ 0), -# elif defined(__FreeBSD__) +# elif defined(__FreeBSD__) && __FreeBSD__ < 7 /* * workaround for FreeBSD/i386 getcontext/setcontext bug. * clear the carry flag by (0 ? ... : ...). |