Browse Source

* add missing currh.inc belonging to revision 10422

git-svn-id: trunk@10437 -
micha 17 years ago
parent
commit
ebba2f1185
2 changed files with 24 additions and 0 deletions
  1. 1 0
      .gitattributes
  2. 23 0
      rtl/inc/currh.inc

+ 1 - 0
.gitattributes

@@ -4973,6 +4973,7 @@ rtl/inc/compproc.inc svneol=native#text/plain
 rtl/inc/crt.inc svneol=native#text/plain
 rtl/inc/crth.inc svneol=native#text/plain
 rtl/inc/ctypes.pp svneol=native#text/plain
+rtl/inc/currh.inc svneol=native#text/plain
 rtl/inc/dos.inc svneol=native#text/plain
 rtl/inc/dosh.inc svneol=native#text/plain
 rtl/inc/dynarr.inc svneol=native#text/plain

+ 23 - 0
rtl/inc/currh.inc

@@ -0,0 +1,23 @@
+{
+    This file is part of the Free Pascal run time library.
+    Copyright (c) 1999-2000 by Florian Klaempfl,
+    member of the Free Pascal development team
+
+    See the file COPYING.FPC, included in this distribution,
+    for details about the copyright.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+ **********************************************************************}
+
+
+{$ifdef FPC_CURRENCY_IS_INT64}
+    function trunc(c : currency) : int64;
+    function trunc(c : comp) : int64;
+    function round(c : currency) : int64;
+    function round(c : comp) : int64;
+{$endif FPC_CURRENCY_IS_INT64}
+
+