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

* win32/Makefile.sub (HAVE_QSORT_S): use qsort_s only for Visual Studio

2012 or later, because VS2010 seems to causes a SEGV in
  test/ruby/test_enum.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2016-05-11 15:21:49 +00:00
parent cb459dbe64
commit 98c084b8ba
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Thu May 12 00:18:19 2016 NAKAMURA Usaku <usa@ruby-lang.org>
* win32/Makefile.sub (HAVE_QSORT_S): use qsort_s only for Visual Studio
2012 or later, because VS2010 seems to causes a SEGV in
test/ruby/test_enum.rb.
Wed May 11 23:59:47 2016 Masaya Tarui <tarui@ruby-lang.org>
* vm_insnhelper.c (vm_getivar): describe fast-path explicit

View file

@ -741,7 +741,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
#define HAVE_TZNAME 1
#define HAVE_DAYLIGHT 1
#define HAVE_GMTIME_R 1
!if $(RT_VER) >= 80
!if $(RT_VER) >= 120
#define HAVE_QSORT_S
!endif
#define HAVE_TYPE_NET_LUID 1