1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-12-03 21:44:45 +02:00

Fixed build issues in ARM CPUs with a 64 bits target

Possible fix for issue #406
This commit is contained in:
salvadordf
2022-02-25 16:02:59 +01:00
parent 03f9e9a1b9
commit b76bc452aa
3 changed files with 15 additions and 15 deletions

View File

@@ -348,7 +348,7 @@ begin
// https://github.com/salvadordf/CEF4Delphi/issues/278
// The TCefRect return type seems to be messing the stack and the other parameters
// are assigned wrong addresses.
{$IFDEF CPUX64}
{$IFDEF TARGET_64BITS}
get_preferred_size := {$IFDEF FPC}@{$ENDIF}cef_view_delegate_get_preferred_size;
get_minimum_size := {$IFDEF FPC}@{$ENDIF}cef_view_delegate_get_minimum_size;
get_maximum_size := {$IFDEF FPC}@{$ENDIF}cef_view_delegate_get_maximum_size;