You've already forked lazarus-ccr
JVCL: JvPascalInterpreter - fix compilation with fpc/main. Patch by michalgw. Resolves Issue #39057.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9026 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -160,13 +160,20 @@ uses
|
||||
type
|
||||
TJvInterpreterReader = class(TReader)
|
||||
protected
|
||||
function FindMethod(Root: TComponent; const MethodName: string): Pointer;
|
||||
override;
|
||||
{$IF FPC_FULLVERSION >= 30301}
|
||||
function FindMethod(Root: TComponent; const MethodName: RawByteString): CodePointer; override;
|
||||
{$ELSE}
|
||||
function FindMethod(Root: TComponent; const MethodName: string): Pointer; override;
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
TJvInterpreterAdapterAccessProtected = class(TJvInterpreterAdapter);
|
||||
|
||||
{$IF FPC_FULLVERSION >= 30301}
|
||||
function TJvInterpreterReader.FindMethod(Root: TComponent; const MethodName: RawByteString): CodePointer;
|
||||
{$ELSE}
|
||||
function TJvInterpreterReader.FindMethod(Root: TComponent; const MethodName: string): Pointer;
|
||||
{$ENDIF}
|
||||
var
|
||||
Len: Integer;
|
||||
begin
|
||||
|
Reference in New Issue
Block a user