소스 검색

* 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}
 {$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;