diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-28 16:07:34 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-05-28 16:07:34 +0000 |
| commit | 64a7f511fd52995588ddafece5226d2f00b814aa (patch) | |
| tree | 8ca6c1e3f6d094a06934c12532267cc0ec66edd8 /ext/tcltklib | |
| parent | 0d18691ef2b561fcec5f1f7a8d7af103c373faa2 (diff) | |
| download | ruby-64a7f511fd52995588ddafece5226d2f00b814aa.tar.gz ruby-64a7f511fd52995588ddafece5226d2f00b814aa.tar.xz ruby-64a7f511fd52995588ddafece5226d2f00b814aa.zip | |
* configure.in: remove unnecessary AC_CANONICAL_BUILD
* defins.h: #define HAVE_SETITIMER on Cygwin(bug fixed).
* ruby.c: use relative path from LIBRUBY_SO.
* ruby.c: don't use -mwin32 option on Cygwin.
* cygwin/GNUmakefile.in: ditto.
* ext/sdbm/_sdbm: ditto.
* ext/tcltklib/extconf.rb: ditto.
* ext/tcltklib/stubs.c: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tcltklib')
| -rw-r--r-- | ext/tcltklib/extconf.rb | 1 | ||||
| -rw-r--r-- | ext/tcltklib/stubs.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/tcltklib/extconf.rb b/ext/tcltklib/extconf.rb index c9082e0a7..f732c165d 100644 --- a/ext/tcltklib/extconf.rb +++ b/ext/tcltklib/extconf.rb @@ -67,5 +67,6 @@ if have_header("tcl.h") && have_header("tk.h") && find_tcl(tcllib, stubs) && find_tk(tklib, stubs) $CPPFLAGS += ' -DUSE_TCL_STUBS -DUSE_TK_STUBS' if stubs + $CPPFLAGS += ' -D_WIN32' if /cygwin/ =~ RUBY_PLATFORM create_makefile("tcltklib") end diff --git a/ext/tcltklib/stubs.c b/ext/tcltklib/stubs.c index 537ca74d3..faf5b4bb4 100644 --- a/ext/tcltklib/stubs.c +++ b/ext/tcltklib/stubs.c @@ -3,7 +3,7 @@ #include <tk.h> #include "ruby.h" -#if defined _WIN32 +#if defined _WIN32 || defined __CYGWIN__ # include <windows.h> typedef HINSTANCE DL_HANDLE; # define DL_OPEN LoadLibrary |
