diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-11 15:21:49 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-11 15:21:49 +0000 |
commit | 0eeaf7b2855649b08ef63d2bd0f12cae75ab2375 (patch) | |
tree | cfb89b2dc13b90163ae3ea1f22dff11f639b3c94 /win32 | |
parent | b31dbf98e0891b14d357eb0798ba7b33bdaa686b (diff) | |
download | ruby-0eeaf7b2855649b08ef63d2bd0f12cae75ab2375.tar.gz |
* 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
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 2 |
1 files changed, 1 insertions, 1 deletions
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 |