瀏覽代碼

palmunits: allow to build with FPUNONE

git-svn-id: trunk@37229 -
Károly Balogh 8 年之前
父節點
當前提交
8c8a026fa6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/palmunits/src/floatmgr.pp

+ 2 - 2
packages/palmunits/src/floatmgr.pp

@@ -112,8 +112,8 @@ type
  * New Floating point manager types (public)
  ***********************************************************************)
 
-  FlpFloat = Single; //Int32;
-  FlpDouble = Double; //_sfpe_64_bits;
+  FlpFloat = {$IFDEF FPUNONE}Int32{$ELSE}Single{$ENDIF}; //Int32;
+  FlpDouble ={$IFDEF FPUNONE}Int64{$ELSE}Double{$ENDIF}; //_sfpe_64_bits;
   FlpLongDouble = _sfpe_64_bits;
 
 (*