diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-17 04:48:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-03-17 04:48:03 +0000 |
commit | 27a39b8ffed0c8317f5d44e21dee52e66ee66e40 (patch) | |
tree | 1ad088f250e987d7c3243d19fbb5661fdbe91e50 /ext/dl/dl.h | |
parent | e3cb6518d1c4fb3fc74737f66785be419f162ea4 (diff) | |
download | ruby-27a39b8ffed0c8317f5d44e21dee52e66ee66e40.tar.gz |
* win32/Makefile.sub (config.h): added RUBY_COREDLL.
* ext/dl/handle.c (rb_dlhandle_initialize): returns msvcrt if libc
or RUBY_COREDLL is given. [ruby-core:22828]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/dl.h')
-rw-r--r-- | ext/dl/dl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/dl/dl.h b/ext/dl/dl.h index fb904bc561..d47a3aa729 100644 --- a/ext/dl/dl.h +++ b/ext/dl/dl.h @@ -22,7 +22,6 @@ #else # if defined(HAVE_WINDOWS_H) # include <windows.h> -# define dlclose(ptr) FreeLibrary((HINSTANCE)ptr) # define dlopen(name,flag) ((void*)LoadLibrary(name)) # define dlerror() strerror(rb_w32_map_errno(GetLastError())) # define dlsym(handle,name) ((void*)GetProcAddress(handle,name)) |