summaryrefslogtreecommitdiff
path: root/dln.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-06 09:00:32 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-06 09:00:32 +0000
commit6dc931e59f7f0099909a077dfbd6be5e4326ae09 (patch)
treec004bd0144feab658c5311c8ecb67f127cb74372 /dln.c
parentd99f6d7ff6c3506658c63b7ab3533522daf1de29 (diff)
downloadruby-6dc931e59f7f0099909a077dfbd6be5e4326ae09.tar.gz
* dln.c (dln_load): use LoadLibrary instead of LoadLibraryEx.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dln.c b/dln.c
index 061411425e..100fa08a10 100644
--- a/dln.c
+++ b/dln.c
@@ -1248,8 +1248,7 @@ dln_load(file)
strcpy(winfile, file);
/* Load file */
- if ((handle =
- LoadLibraryExA(winfile, NULL, LOAD_WITH_ALTERED_SEARCH_PATH)) == NULL) {
+ if ((handle = LoadLibrary(winfile)) == NULL) {
goto failed;
}