File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1174,6 +1174,7 @@ AC_C_CHAR_UNSIGNED
11741174AC_C_INLINE
11751175AC_C_VOLATILE
11761176AC_C_TYPEOF
1177+ AC_C_RESTRICT
11771178
11781179AS_CASE ( ":$ac_cv_c_const:$ac_cv_c_volatile:" ,
11791180 [ *:no:*] , [ AC_MSG_ERROR ( ANSI C-conforming const and volatile are mandatory ) ] )
Original file line number Diff line number Diff line change @@ -866,6 +866,11 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
866866# define RUBY_LONGJMP(env,val) longjmp(env,val)
867867# define RUBY_JMP_BUF jmp_buf
868868# define inline __inline
869+ !if $(MSC_VER) >= 1900
870+ # define restrict __restrict
871+ !else
872+ # define restrict /* not supported */
873+ !endif
869874# define NEED_IO_SEEK_BETWEEN_RW 1
870875!if "$(MACHINE)" == "x86" || "$(ARCH)" == "x64" || "$(ARCH)" == "ia64"
871876# define STACK_GROW_DIRECTION -1
You can’t perform that action at this time.
0 commit comments