comparison src/if_perl.xs @ 7528:53163e4d9e4f v7.4.1065

commit https://github.com/vim/vim/commit/25e4fcde767084d1a79e0926bc301c92987c0cce Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 9 14:57:47 2016 +0100 patch 7.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.
author Christian Brabandt <cb@256bit.org>
date Sat, 09 Jan 2016 15:00:05 +0100
parents b58e16f9119e
children c7575b07de98
comparison
equal deleted inserted replaced
7527:3c5d446fb80b 7528:53163e4d9e4f
609 */ 609 */
610 int 610 int
611 perl_enabled(verbose) 611 perl_enabled(verbose)
612 int verbose; 612 int verbose;
613 { 613 {
614 #ifdef WIN3264 614 return perl_runtime_link_init((char *)p_perldll, verbose) == OK;
615 char *dll = DYNAMIC_PERL_DLL;
616 #else
617 char *dll = *p_perldll ? (char *)p_perldll : DYNAMIC_PERL_DLL;
618 #endif
619 return perl_runtime_link_init(dll, verbose) == OK;
620 } 615 }
621 #endif /* DYNAMIC_PERL */ 616 #endif /* DYNAMIC_PERL */
622 617
623 /* 618 /*
624 * perl_init(): initialize perl interpreter 619 * perl_init(): initialize perl interpreter