* 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
This commit is contained in:
nagai 2010-08-31 08:34:56 +00:00
Родитель 0156faf5a2
Коммит b0993426bb
2 изменённых файлов: 10 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Tue Aug 31 17:32:34 2010 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* 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@ruby-lang.org> Tue Aug 31 03:42:14 2010 NARUSE, Yui <naruse@ruby-lang.org>
* string.c (tr_setup_table): fix bug in r29146. * string.c (tr_setup_table): fix bug in r29146.

Просмотреть файл

@ -72,7 +72,11 @@ _nativethread_consistency_check(ip)
#if defined USE_TCL_STUBS && defined USE_TK_STUBS #if defined USE_TCL_STUBS && defined USE_TK_STUBS
#if defined _WIN32 || defined __CYGWIN__ #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> # include <windows.h>
typedef HINSTANCE DL_HANDLE; typedef HINSTANCE DL_HANDLE;
# define DL_OPEN LoadLibrary # define DL_OPEN LoadLibrary