瀏覽代碼

* fixed fmtbcd for CPUs having no natural comp type

git-svn-id: trunk@5084 -
florian 19 年之前
父節點
當前提交
6093708e65
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      rtl/objpas/fmtbcd.pp

+ 2 - 4
rtl/objpas/fmtbcd.pp

@@ -201,11 +201,9 @@ INTERFACE
   {$define myRealtype := extended}
   {$define myRealtype := extended}
 {$endif}
 {$endif}
 
 
-{$if declared ( comp ) }
-  {$if declared ( int64 ) }
+{$ifdef SUPPORT_COMP}
     {$define comproutines}
     {$define comproutines}
-  {$endif}
-{$endif}
+{$endif SUPPORT_COMP}
 
 
 {$define __low_Fraction := 0 }
 {$define __low_Fraction := 0 }
 {$define __high_Fraction := ( ( MaxFmtBCDFractionSize DIV 2 ) - 1 ) }
 {$define __high_Fraction := ( ( MaxFmtBCDFractionSize DIV 2 ) - 1 ) }