diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-31 08:34:56 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-31 08:34:56 +0000 |
commit | b0993426bb87d658ee630c7e7f20114e5857d6a9 (patch) | |
tree | b433960f1897282547e9355b7da09238a0a924fe /ext | |
parent | 0156faf5a2de9f5863f514b7112b7442f155a031 (diff) | |
download | ruby-b0993426bb87d658ee630c7e7f20114e5857d6a9.tar.gz |
* ext/tk/stubs.c: fix [Bug #3771] "VC++ can't make ext/tk with enabling
stubs". Thanks, Akio Tajima [ruby-dev:42159].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/tk/stubs.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 |