1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* cont.c (HAVE_GETCONTEXT): see getcontext(3) because DragonFly BSD

x64 port doesn't have it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-08-06 22:18:45 +00:00
parent 2878632eff
commit f9260247d2
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sun Aug 7 07:14:57 2011 NARUSE, Yui <naruse@ruby-lang.org>
* 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 <naruse@ruby-lang.org> Sun Aug 7 00:42:55 2011 NARUSE, Yui <naruse@ruby-lang.org>
* ext/tk/lib/tk/wm.rb (Tk::Wm.command): Add the missing receiver * ext/tk/lib/tk/wm.rb (Tk::Wm.command): Add the missing receiver

2
cont.c
View file

@ -15,7 +15,7 @@
#include "gc.h" #include "gc.h"
#include "eval_intern.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 #define FIBER_USE_NATIVE 1
/* FIBER_USE_NATIVE enables Fiber performance improvement using system /* FIBER_USE_NATIVE enables Fiber performance improvement using system