mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
a2eb04f52d
commit
6c1ed519ef
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue