Browse Source

* modeswitches for win64 + wince.

git-svn-id: trunk@32344 -
marco 9 years ago
parent
commit
be6c2e6c94
2 changed files with 4 additions and 0 deletions
  1. 2 0
      rtl/win64/windows.pp
  2. 2 0
      rtl/wince/windows.pp

+ 2 - 0
rtl/win64/windows.pp

@@ -22,6 +22,8 @@ unit windows;
 
 
 { stuff like array of const is used }
 { stuff like array of const is used }
 {$mode objfpc}
 {$mode objfpc}
+{$modeswitch ADVANCEDRECORDS}
+{$modeswitch class}
 {$inline on}
 {$inline on}
 {$calling stdcall}
 {$calling stdcall}
 
 

+ 2 - 0
rtl/wince/windows.pp

@@ -25,6 +25,8 @@ unit windows;
 
 
 { stuff like array of const is used }
 { stuff like array of const is used }
 {$mode objfpc}
 {$mode objfpc}
+{$modeswitch ADVANCEDRECORDS}
+{$modeswitch class}
 { convention is cdecl for WinCE API}
 { convention is cdecl for WinCE API}
 {$calling cdecl}
 {$calling cdecl}