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

ruby-changes:17152

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

nagai	2010-08-31 17:34:56 +0900 (Tue, 31 Aug 2010)

  New Revision: 29151

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

  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:
    trunk/ChangeLog
    trunk/ext/tk/stubs.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 29150)
+++ ChangeLog	(revision 29151)
@@ -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].
+
 Tue Aug 31 03:42:14 2010  NARUSE, Yui  <naruse@r...>
 
 	* string.c (tr_setup_table): fix bug in r29146.
Index: ext/tk/stubs.c
===================================================================
--- ext/tk/stubs.c	(revision 29150)
+++ ext/tk/stubs.c	(revision 29151)
@@ -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

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

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