mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.4b.010
Problem: Win32: Tcl library load does not use standard mechanism. Solution: Call vimLoadLib() instead of LoadLibraryEx(). (Ken Takata)
This commit is contained in:
parent
bc88a27537
commit
364ab2ffd3
@ -495,7 +495,7 @@ static struct {
|
|||||||
/*
|
/*
|
||||||
* Make all runtime-links of perl.
|
* Make all runtime-links of perl.
|
||||||
*
|
*
|
||||||
* 1. Get module handle using LoadLibraryEx.
|
* 1. Get module handle using dlopen() or vimLoadLib().
|
||||||
* 2. Get pointer to perl function by GetProcAddress.
|
* 2. Get pointer to perl function by GetProcAddress.
|
||||||
* 3. Repeat 2, until get all functions will be used.
|
* 3. Repeat 2, until get all functions will be used.
|
||||||
*
|
*
|
||||||
|
@ -195,7 +195,7 @@ tcl_runtime_link_init(char *libname, int verbose)
|
|||||||
|
|
||||||
if (hTclLib)
|
if (hTclLib)
|
||||||
return OK;
|
return OK;
|
||||||
if (!(hTclLib = LoadLibraryEx(libname, NULL, 0)))
|
if (!(hTclLib = vimLoadLib(libname)))
|
||||||
{
|
{
|
||||||
if (verbose)
|
if (verbose)
|
||||||
EMSG2(_(e_loadlib), libname);
|
EMSG2(_(e_loadlib), libname);
|
||||||
|
@ -727,6 +727,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
10,
|
||||||
/**/
|
/**/
|
||||||
9,
|
9,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user