From 33baccab787b05988c9b4907db0586d98d69d15a Mon Sep 17 00:00:00 2001 From: eban Date: Tue, 10 Oct 2000 07:20:10 +0000 Subject: eban git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dln.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'dln.c') diff --git a/dln.c b/dln.c index 6f673e53a5..c843bee57b 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; -- cgit v1.2.3