зеркало из https://github.com/github/ruby.git
cont.c: wrong _MSC_VER check
* 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/trunk@54574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
24eb2e9cfe
Коммит
06ccd6846d
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
Thu Apr 14 14:28:55 2016 cremno phobia <cremno@mail.ru>
|
||||
|
||||
* 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 <cremno@mail.ru>
|
||||
|
||||
* 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 <akr@fsij.org>
|
||||
|
||||
* array.c (rb_ary_sum): Array#sum is implemented.
|
||||
|
|
2
cont.c
2
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче