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

ruby-changes:17153

From: nagai <ko1@a...>
Date: Tue, 31 Aug 2010 17:35:28 +0900 (JST)
Subject: [ruby-changes:17153] Ruby:r29152 (ruby_1_8): * ext/tk/stubs.c: fix [Bug #3771] "VC++ can't make ext/tk with enabling

nagai	2010-08-31 17:35:16 +0900 (Tue, 31 Aug 2010)

  New Revision: 29152

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

  Log:
    * ext/tk/stubs.c: fix [Bug #3771] "VC++ can't make ext/tk with enabling
      stubs". Thanks, Akio Tajima [ruby-dev:42159].

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/ext/tk/stubs.c

Index: ruby_1_8/ext/tk/stubs.c
===================================================================
--- ruby_1_8/ext/tk/stubs.c	(revision 29151)
+++ ruby_1_8/ext/tk/stubs.c	(revision 29152)
@@ -72,7 +72,11 @@
 #if defined USE_TCL_STUBS && defined USE_TK_STUBS
 
 #if defined _WIN32 || defined __CYGWIN__
-# include "util.h"
+#  ifdef HAVE_RUBY_RUBY_H
+#    include "ruby/util.h"
+#  else
+#    include "util.h"
+#  endif
 # include <windows.h>
   typedef HINSTANCE DL_HANDLE;
 # define DL_OPEN LoadLibrary
Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 29151)
+++ ruby_1_8/ChangeLog	(revision 29152)
@@ -1,3 +1,8 @@
+Tue Aug 31 17:32:34 2010  Hidetoshi NAGAI  <nagai@a...>
+
+	* ext/tk/stubs.c: fix [Bug #3771] "VC++ can't make ext/tk with enabling
+	  stubs". Thanks, Akio Tajima [ruby-dev:42159].
+
 Fri Aug 27 12:24:21 2010  Shugo Maeda  <shugo@r...>
 
 	* lib/net/imap.rb (initialize): sets sync_close to true.

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

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