From 6c1ed519ef51fe8afb7e0ed7f0df2cd2fc0db13d Mon Sep 17 00:00:00 2001 From: k0kubun Date: Fri, 4 Jan 2019 15:41:29 +0000 Subject: 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 --- win32/Makefile.sub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3