Skip to content

Commit

Permalink
* cont.c (HAVE_GETCONTEXT): see getcontext(3) because DragonFly BSD
Browse files Browse the repository at this point in the history
  x64 port doesn't have it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nurse committed Aug 6, 2011
1 parent 2878632 commit f926024
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Sun Aug 7 07:14:57 2011 NARUSE, Yui <[email protected]>

* cont.c (HAVE_GETCONTEXT): see getcontext(3) because DragonFly BSD
x64 port doesn't have it.

Sun Aug 7 00:42:55 2011 NARUSE, Yui <[email protected]>

* ext/tk/lib/tk/wm.rb (Tk::Wm.command): Add the missing receiver
Expand Down
2 changes: 1 addition & 1 deletion cont.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "gc.h"
#include "eval_intern.h"

#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || defined(HAVE_SETCONTEXT)) && !defined(__NetBSD__) && !defined(sun) && !defined(FIBER_USE_NATIVE)
#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || (defined(HAVE_GETCONTEXT) && defined(HAVE_SETCONTEXT))) && !defined(__NetBSD__) && !defined(sun) && !defined(FIBER_USE_NATIVE)
#define FIBER_USE_NATIVE 1

/* FIBER_USE_NATIVE enables Fiber performance improvement using system
Expand Down

0 comments on commit f926024

Please sign in to comment.