mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 23:49:05 +02:00
fcl-passrc: fixed compile with pas2js
git-svn-id: trunk@46808 -
This commit is contained in:
parent
342771c0c7
commit
13c10cc622
@ -20259,11 +20259,11 @@ begin
|
|||||||
begin
|
begin
|
||||||
bt:=ParamResolved.BaseType;
|
bt:=ParamResolved.BaseType;
|
||||||
case bt of
|
case bt of
|
||||||
btChar: if BaseTypeChar=btAnsiChar then aName:='tkChar' else aName:='tkWChar';
|
btChar: {$ifdef FPC_HAS_CPSTRING}if BaseTypeChar=btAnsiChar then aName:='tkChar' else {$ENDIF}aName:='tkWChar';
|
||||||
{$ifdef FPC_HAS_CPSTRING}
|
{$ifdef FPC_HAS_CPSTRING}
|
||||||
btAnsiChar: aName:='tkChar';
|
btAnsiChar: aName:='tkChar';
|
||||||
{$endif}
|
{$endif}
|
||||||
btWideChar: aName:='tkWideChar';
|
btWideChar: aName:='tkWChar';
|
||||||
btString: if BaseTypeString=btAnsiString then aName:='tkAString' else aName:='tkUString';
|
btString: if BaseTypeString=btAnsiString then aName:='tkAString' else aName:='tkUString';
|
||||||
{$ifdef FPC_HAS_CPSTRING}
|
{$ifdef FPC_HAS_CPSTRING}
|
||||||
btAnsiString,
|
btAnsiString,
|
||||||
|
Loading…
Reference in New Issue
Block a user