1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-01-03 10:15:38 +02:00

fix compile on Fpc/Mac. Handle is PtrUInt. IFDEF MACOS only matches Delphi

This commit is contained in:
martin 2021-02-07 19:44:43 +03:00 committed by martin
parent 06bcf00dd7
commit 7c94142d25

View File

@ -2334,7 +2334,7 @@ end;
function ValidCefWindowHandle(aHandle : TCefWindowHandle) : boolean;
begin
{$IFDEF MACOSX}
{$IFDEF MACOS}
Result := (aHandle <> nil);
{$ELSE}
Result := (aHandle <> 0);
@ -2343,7 +2343,7 @@ end;
procedure InitializeWindowHandle(var aHandle : TCefWindowHandle);
begin
{$IFDEF MACOSX}
{$IFDEF MACOS}
aHandle := nil;
{$ELSE}
aHandle := 0;