Browse Source

* long double = double on Darwin/AArch64

git-svn-id: trunk@29888 -
Jonas Maebe 10 năm trước cách đây
mục cha
commit
5c6afe259e
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      rtl/inc/ctypes.pp

+ 4 - 0
rtl/inc/ctypes.pp

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