From f65180025b0055e1d28f24b97a438e3c6c1a6ed9 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 2 Aug 2016 02:18:14 +0000 Subject: tcltklib.c: remove RUBY_VERSION * ext/tk/tcltklib.c (tcltklib_compile_info): remove RUBY_VERSION, use RUBY_API_VERSION instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/extconf.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ext/tk/extconf.rb') diff --git a/ext/tk/extconf.rb b/ext/tk/extconf.rb index d4b017c85a..cb131f07b1 100644 --- a/ext/tk/extconf.rb +++ b/ext/tk/extconf.rb @@ -2085,10 +2085,6 @@ if (TkLib_Config["tcltk-framework"] || $INSTALLFILES ||= [] $INSTALLFILES << ["lib/tkextlib/SUPPORT_STATUS", "$(RUBYLIBDIR)", "lib"] - # create - $defs << %[-DRUBY_VERSION=\\"#{RUBY_VERSION}\\"] - $defs << %[-DRUBY_RELEASE_DATE=\\"#{RUBY_RELEASE_DATE}\\"] - # remove harmful definitions. $defs.delete_if{|x|/^-Du?intptr_t=/ =~ x} -- cgit v1.2.3