ソースを参照

* long double = double on Darwin/AArch64

git-svn-id: trunk@29888 -
Jonas Maebe 10 年 前
コミット
5c6afe259e
1 ファイル変更4 行追加0 行削除
  1. 4 0
      rtl/inc/ctypes.pp

+ 4 - 0
rtl/inc/ctypes.pp

@@ -110,6 +110,10 @@ type
   {$define longdouble_is_double}
   {$define longdouble_is_double}
 {$ifend}
 {$ifend}
 
 
+{$if defined(darwin) and defined(cpuaarch64)}
+  {$define longdouble_is_double}
+{$ifend}
+
 {$ifndef FPUNONE}
 {$ifndef FPUNONE}
 {$if defined(longdouble_is_double) or not defined(FPC_HAS_CEXTENDED)}
 {$if defined(longdouble_is_double) or not defined(FPC_HAS_CEXTENDED)}
   clongdouble=double;
   clongdouble=double;