summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 11:27:48 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-20 11:27:48 +0000
commitecac8d0c34aaf34a049aa913876f83051e599e90 (patch)
treee782f5eb71ec8a3c34d5552565a85df3dacf0f5a /win32/Makefile.sub
parent67e2373f06d77ee73e8ec9b5cb826c2478576063 (diff)
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
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub2
1 files changed, 2 insertions, 0 deletions
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
<<KEEP
miniruby: miniruby$(EXEEXT)