From 06794daa4db4e5f14c651cfdc3ce4fc3035afc85 Mon Sep 17 00:00:00 2001 From: usa Date: Wed, 11 May 2016 15:21:49 +0000 Subject: * 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 --- ChangeLog | 6 ++++++ win32/Makefile.sub | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ef87ccfcea..9f10118f16 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu May 12 00:18:19 2016 NAKAMURA Usaku + + * 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 * vm_insnhelper.c (vm_getivar): describe fast-path explicit diff --git a/win32/Makefile.sub b/win32/Makefile.sub index b10970a6d8..33cbceb988 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -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 -- cgit v1.2.3