diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/tk/stubs.c | 6 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Aug 31 17:32:34 2010 Hidetoshi NAGAI <[email protected]> + + * 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 <[email protected]> * lib/net/imap.rb (initialize): sets sync_close to true. diff --git a/ext/tk/stubs.c b/ext/tk/stubs.c index d76e0c8632..4b02fdd728 100644 --- a/ext/tk/stubs.c +++ b/ext/tk/stubs.c @@ -72,7 +72,11 @@ _nativethread_consistency_check(ip) #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 |