ruby-changes:54500
From: k0kubun <ko1@a...>
Date: Sat, 5 Jan 2019 00:41:35 +0900 (JST)
Subject: [ruby-changes:54500] k0kubun:r66715 (trunk): win32/Makefile.sub: try to use __restrict on Visual Studio 2013
k0kubun 2019-01-05 00:41:29 +0900 (Sat, 05 Jan 2019) New Revision: 66715 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66715 Log: 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. Modified files: trunk/win32/Makefile.sub Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 66714) +++ win32/Makefile.sub (revision 66715) @@ -867,7 +867,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/ https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L867 #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 */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/