2
0
Эх сурвалжийг харах

* long double = double on Darwin/AArch64

git-svn-id: trunk@29888 -
Jonas Maebe 10 жил өмнө
parent
commit
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}
 {$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;