ruby-changes:53018
From: ko1 <ko1@a...>
Date: Sat, 20 Oct 2018 20:27:59 +0900 (JST)
Subject: [ruby-changes:53018] ko1:r65232 (trunk): fix MJIT_SUPPORT on win32.
ko1 2018-10-20 20:27:48 +0900 (Sat, 20 Oct 2018) New Revision: 65232 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65232 Log: fix MJIT_SUPPORT on win32. * win32/Makefile.sub: add MJIT_SUPPORT macro for C codes and variable for Makefile. Modified files: trunk/win32/Makefile.sub Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 65231) +++ win32/Makefile.sub (revision 65232) @@ -864,6 +864,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/ https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L864 #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 https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L1053 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 <<KEEP miniruby: miniruby$(EXEEXT) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/