mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* cont.c: define FIBER_USE_NATIVE only when _WIN32_WINNT >= 0x0400
on Windows because Fiber APIs are supported only such building (and running) environments. [ruby-dev:41192] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bcd0bcc390
commit
8db2aa1216
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
Thu May 6 22:19:38 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* cont.c: define FIBER_USE_NATIVE only when _WIN32_WINNT >= 0x0400
|
||||||
|
on Windows because Fiber APIs are supported only such building
|
||||||
|
(and running) environments.
|
||||||
|
[ruby-dev:41192]
|
||||||
|
|
||||||
Thu May 6 19:13:43 2010 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
Thu May 6 19:13:43 2010 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
|
||||||
|
|
||||||
* test/openssl/test_ec.rb: added test_dsa_sign_asn1_FIPS186_3. dgst is
|
* test/openssl/test_ec.rb: added test_dsa_sign_asn1_FIPS186_3. dgst is
|
||||||
|
|
2
cont.c
2
cont.c
|
@ -14,7 +14,7 @@
|
||||||
#include "gc.h"
|
#include "gc.h"
|
||||||
#include "eval_intern.h"
|
#include "eval_intern.h"
|
||||||
|
|
||||||
#if (defined(_WIN32) || defined(HAVE_SETCONTEXT)) && !defined(__NetBSD__) && !defined(FIBER_USE_NATIVE)
|
#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || defined(HAVE_SETCONTEXT)) && !defined(__NetBSD__) && !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
|
||||||
|
|
Loading…
Add table
Reference in a new issue