From ecac8d0c34aaf34a049aa913876f83051e599e90 Mon Sep 17 00:00:00 2001 From: ko1 Date: Sat, 20 Oct 2018 11:27:48 +0000 Subject: [PATCH] fix MJIT_SUPPORT on win32. * win32/Makefile.sub: add MJIT_SUPPORT macro for C codes and variable for Makefile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 2 ++ 1 file changed, 2 insertions(+) diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 529dc78d5d..a6096aa1a8 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -864,6 +864,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define RUBY_COREDLL "$(RT)" #define RUBY_PLATFORM "$(arch)" #define RUBY_SITEARCH "$(sitearch)" +#define MJIT_SUPPORT 1 #endif /* $(guard) */ << @@ -1052,6 +1053,7 @@ s,@srcdir@,$(srcdir),;t t s,@top_srcdir@,$(srcdir),;t t s,@try_header@,try_compile,;t t s,@ruby_pc@,$(ruby_pc),;t t +s,@MJIT_SUPPORT,$(MJIT_SUPPORT),;t t <