[前][次][番号順一覧][スレッド一覧]

ruby-changes:20241

From: eban <ko1@a...>
Date: Wed, 29 Jun 2011 23:25:01 +0900 (JST)
Subject: [ruby-changes:20241] eban:r32289 (ruby_1_8): * ext/tk/extconf.rb (intptr_t, uintptr_t): support for the latest ActiveTcl with mingw.

eban	2011-06-29 23:24:54 +0900 (Wed, 29 Jun 2011)

  New Revision: 32289

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32289

  Log:
    * ext/tk/extconf.rb (intptr_t, uintptr_t): support for the latest ActiveTcl with mingw.

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/ext/tk/extconf.rb

Index: ruby_1_8/ext/tk/extconf.rb
===================================================================
--- ruby_1_8/ext/tk/extconf.rb	(revision 32288)
+++ ruby_1_8/ext/tk/extconf.rb	(revision 32289)
@@ -1571,6 +1571,9 @@
   $INSTALLFILES ||= []
   $INSTALLFILES << ["lib/tkextlib/SUPPORT_STATUS", "$(RUBYLIBDIR)", "lib"]
 
+  # remove harmful definitions.
+  $defs.delete_if{|x|/^-Du?intptr_t=/ =~ x}
+
   # create
   $CPPFLAGS << %[ -DRUBY_VERSION=\\"#{RUBY_VERSION}\\"]
   $CPPFLAGS << %[ -DRUBY_RELEASE_DATE=\\"#{RUBY_RELEASE_DATE}\\"]
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 32288)
+++ ruby_1_8/ChangeLog	(revision 32289)
@@ -1,3 +1,7 @@
+Wed Jun 29 23:09:14 2011  WATANABE Hirofumi  <eban@r...>
+
+	* ext/tk/extconf.rb (intptr_t, uintptr_t): support for the latest ActiveTcl with mingw.
+
 Thu Jun 16 22:55:02 2011  Hiroshi Nakamura  <nahi@r...>
 
 	* test/test_securerandom.rb: Add testcase.  This testcase does NOT aim

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]