From be6c2e6c94df4c4cc2efc39b32a2e64c7a1ce19a Mon Sep 17 00:00:00 2001 From: marco Date: Mon, 16 Nov 2015 13:51:37 +0000 Subject: [PATCH] * modeswitches for win64 + wince. git-svn-id: trunk@32344 - --- rtl/win64/windows.pp | 2 ++ rtl/wince/windows.pp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/rtl/win64/windows.pp b/rtl/win64/windows.pp index e19e955124..d7873239a4 100644 --- a/rtl/win64/windows.pp +++ b/rtl/win64/windows.pp @@ -22,6 +22,8 @@ unit windows; { stuff like array of const is used } {$mode objfpc} +{$modeswitch ADVANCEDRECORDS} +{$modeswitch class} {$inline on} {$calling stdcall} diff --git a/rtl/wince/windows.pp b/rtl/wince/windows.pp index 22241a545d..5aaeb98ab1 100644 --- a/rtl/wince/windows.pp +++ b/rtl/wince/windows.pp @@ -25,6 +25,8 @@ unit windows; { stuff like array of const is used } {$mode objfpc} +{$modeswitch ADVANCEDRECORDS} +{$modeswitch class} { convention is cdecl for WinCE API} {$calling cdecl}