mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 17:49:27 +02:00
* fix importing for win32
git-svn-id: trunk@3147 -
This commit is contained in:
parent
96db39b15d
commit
82b6546997
@ -2279,9 +2279,10 @@ const win32stub : array[0..131] of byte=(
|
||||
internalobjdata.writebytes(nopopcodes,align(internalobjdata.CurrObjSec.size,sizeof(nopopcodes))-internalobjdata.CurrObjSec.size);
|
||||
end;
|
||||
|
||||
{$ifdef win32}
|
||||
var
|
||||
p : pointer;
|
||||
|
||||
{$endif win32}
|
||||
begin
|
||||
result:=false;
|
||||
basedllname:=splitfilename(dllname);
|
||||
@ -2375,8 +2376,8 @@ const win32stub : array[0..131] of byte=(
|
||||
begin
|
||||
DLLReader.Read(FuncName[1],sizeof(FuncName)-3);
|
||||
FuncName[sizeof(FuncName)-1]:=#0;
|
||||
FuncName[0]:=chr(Strlen(@FuncName[1]));
|
||||
end;
|
||||
FuncName[0]:=chr(Strlen(@FuncName[1]));
|
||||
|
||||
for j:=0 to UnresolvedExeSymbols.Count-1 do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user