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:
parent
06bcf00dd7
commit
7c94142d25
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user