aboutsummaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-04 15:41:29 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-04 15:41:29 +0000
commit6c1ed519ef51fe8afb7e0ed7f0df2cd2fc0db13d (patch)
treee14d52a1d36600201669ebc49f6e4f1c2e000dd4 /win32
parenta2eb04f52dccb9b42404f8b133acb36b577e3b54 (diff)
downloadruby-6c1ed519ef51fe8afb7e0ed7f0df2cd2fc0db13d.tar.gz
win32/Makefile.sub: try to use __restrict on Visual Studio 2013
as well. Follows up r66598. https://bugs.ruby-lang.org/issues/15347#note-7 is saying __restrict is supported on Visual Studio 2013. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 1c13128037..854c362344 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -867,7 +867,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
#define RUBY_LONGJMP(env,val) longjmp(env,val)
#define RUBY_JMP_BUF jmp_buf
#define inline __inline
-!if $(MSC_VER) >= 1900
+!if $(MSC_VER) >= 1800
#define restrict __restrict
!else
#define restrict /* not supported */