mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
17 lines
478 B
Plaintext
17 lines
478 B
Plaintext
$NetBSD: patch-aa,v 1.2 2004/06/15 13:58:51 markd Exp $
|
|
|
|
--- kmymoney2/mymoney/mymoneyfinancialcalculator.h.orig 2004-06-13 21:52:11.000000000 +1200
|
|
+++ kmymoney2/mymoney/mymoneyfinancialcalculator.h
|
|
@@ -47,7 +47,11 @@
|
|
#else
|
|
#define FCALC_DOUBLE double
|
|
#define modfl(a,b) modf(a,b)
|
|
+#ifdef __NetBSD__
|
|
+#define roundl(a) rint(a)
|
|
+#else
|
|
#define roundl(a) round(a)
|
|
+#endif
|
|
#define powl(a,b) pow(a,b)
|
|
#define expl(a) exp(a)
|
|
#define logl(a) log(a)
|