Explorar o código

* long double = double on Darwin/AArch64

git-svn-id: trunk@29888 -
Jonas Maebe %!s(int64=10) %!d(string=hai) anos
pai
achega
5c6afe259e
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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;