Browse Source

Fix Win64 bootstrapping.

Rika Ichinose 1 day ago
parent
commit
65473dc5bc
1 changed files with 4 additions and 0 deletions
  1. 4 0
      rtl/win64/system.pp

+ 4 - 0
rtl/win64/system.pp

@@ -44,6 +44,10 @@ interface
   {$define FPC_SYSTEM_HAS_CAPTUREBACKTRACE}
 {$endif SYSTEM_USE_WIN_SEH}
 
+{$ifdef VER3_2}
+  {$define FPC_ABI_WIN64}
+{$endif VER3_2}
+
 { include system-independent routine headers }
 {$I systemh.inc}
 { include common windows headers }