summaryrefslogtreecommitdiffstats
path: root/dln.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-10 07:20:10 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-10 07:20:10 +0000
commitf782d6750b1b5a51bcddcaf6addc1109cc6388f0 (patch)
tree425966ef87e2c6a4b435d3d28cb6a970d0ed7fc9 /dln.c
parent7c763fa26c7b220e6307448d4bc5fb8143bf68cd (diff)
downloadruby-f782d6750b1b5a51bcddcaf6addc1109cc6388f0.tar.gz
ruby-f782d6750b1b5a51bcddcaf6addc1109cc6388f0.tar.xz
ruby-f782d6750b1b5a51bcddcaf6addc1109cc6388f0.zip
eban
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/dln.c b/dln.c
index 6f673e53a..c843bee57 100644
--- a/dln.c
+++ b/dln.c
@@ -1229,11 +1229,7 @@ dln_load(file)
/* Load the file as an object one */
init_funcname(buf, file);
-#ifdef __CYGWIN32__
- cygwin32_conv_to_win32_path(file, winfile);
-#else
strcpy(winfile, file);
-#endif
/* Load file */
if ((handle =
@@ -1242,13 +1238,6 @@ dln_load(file)
goto failed;
}
-#ifdef __CYGWIN32__
- init_fct = (void(*)())GetProcAddress(handle, "impure_setup");
-
- if (init_fct)
- init_fct(_impure_ptr);
-#endif
-
if ((init_fct = (void(*)())GetProcAddress(handle, buf)) == NULL) {
printf("GetProcAddress %s\n", buf);
goto failed;