Переглянути джерело

Allow compilation of ppc386 compiler using FPC_SOFT_FPUX80, i.e. soft float 80-bit extended float

git-svn-id: trunk@37295 -
pierre 8 роки тому
батько
коміт
2a49627d48
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      compiler/fpcdefs.inc

+ 2 - 0
compiler/fpcdefs.inc

@@ -280,8 +280,10 @@
 {$endif}
 {$endif}
 
 
 {$if not defined(FPC_HAS_TYPE_EXTENDED) and defined(i386)}
 {$if not defined(FPC_HAS_TYPE_EXTENDED) and defined(i386)}
+{$ifndef FPC_SOFT_FPUX80}
 {$error Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time }
 {$error Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time }
 {$endif}
 {$endif}
+{$endif}
 
 
 { llvm backends partially use other backends for parameter info calculation,
 { llvm backends partially use other backends for parameter info calculation,
   alignment info, data sizes etc. They always support 64 bit alu though.
   alignment info, data sizes etc. They always support 64 bit alu though.