diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-18 08:26:01 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-18 08:26:01 +0000 |
commit | 892deeb55b0cdb3c58ffa96cd6b9fef87c822648 (patch) | |
tree | 27bd9cfa22c1fcb4343b287f0beb0201ba3ae839 /cont.c | |
parent | 157401a9a1c921ebd5c77e23cd10fd90c1d3e26f (diff) |
merge revision(s) 54574: [Backport #12279]
* cont.c (fiber_initialize_machine_stack_context): fix wrong
_MSC_VER check, should be decimal but not hexadecimal.
[ruby-core:74936] [Bug #12279]
* cont.c (fiber_initialize_machine_stack_context): fix wrong
_MSC_VER check, should be decimal but not hexadecimal.
[ruby-core:74936] [Bug #12279]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -657,7 +657,7 @@ fiber_initialize_machine_stack_context(rb_fiber_t *fib, size_t size) rb_thread_t *sth = &fib->cont.saved_thread; #ifdef _WIN32 -# if defined(_MSC_VER) && _MSC_VER <= 0x1200 +# if defined(_MSC_VER) && _MSC_VER <= 1200 # define CreateFiberEx(cs, stacksize, flags, entry, param) \ CreateFiber((stacksize), (entry), (param)) # endif |