summaryrefslogtreecommitdiff
path: root/src/if_ruby.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-09 14:57:47 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-09 14:57:47 +0100
commit25e4fcde767084d1a79e0926bc301c92987c0cce (patch)
tree2e2196f2e782cd2bd143b8ed1187697774f4a3ad /src/if_ruby.c
parent7b877b360532713dc21a0ff3d55a76ac02eaf573 (diff)
downloadvim-git-25e4fcde767084d1a79e0926bc301c92987c0cce.tar.gz
patch 7.4.1065v7.4.1065
Problem: Cannot use the "dll" options on MS-Windows. Solution: Support the options on all platforms. Use the built-in name as the default, so that it's clear what Vim is looking for.
Diffstat (limited to 'src/if_ruby.c')
-rw-r--r--src/if_ruby.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c
index fa03359f0..8b1590eb9 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -677,12 +677,7 @@ ruby_runtime_link_init(char *libname, int verbose)
ruby_enabled(verbose)
int verbose;
{
-#ifdef WIN3264
- char *dll = DYNAMIC_RUBY_DLL;
-#else
- char *dll = *p_rubydll ? (char *)p_rubydll : DYNAMIC_RUBY_DLL;
-#endif
- return ruby_runtime_link_init(dll, verbose) == OK;
+ return ruby_runtime_link_init((char *)p_rubydll, verbose) == OK;
}
#endif /* defined(DYNAMIC_RUBY) || defined(PROTO) */