diff --git a/ChangeLog b/ChangeLog index 9db37c2289..ce8676a3b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Thu Apr 14 14:28:55 2016 cremno phobia + + * cont.c (fiber_initialize_machine_stack_context): fix wrong + _MSC_VER check, should be decimal but not hexadecimal. + [ruby-core:74936] [Bug #12279] + +Thu Apr 14 13:47:52 2016 cremno phobia + + * cont.c (fiber_initialize_machine_stack_context): fix wrong + _MSC_VER check, should be decimal but not hexadecimal. + [ruby-core:74936] [Bug #12279] + Wed Apr 13 22:51:38 2016 Tanaka Akira * array.c (rb_ary_sum): Array#sum is implemented. diff --git a/cont.c b/cont.c index 8ebd78f860..729a025fb0 100644 --- a/cont.c +++ b/cont.c @@ -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