Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/src Add missing __HAVE_LONG_DOUBLE protection.



details:   https://anonhg.NetBSD.org/src/rev/0c0a7e723450
branches:  trunk
changeset: 791319:0c0a7e723450
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Nov 13 01:03:08 2013 +0000

description:
Add missing __HAVE_LONG_DOUBLE protection.

diffstat:

 lib/libm/src/w_fmodl.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 65fc9f163f0f -r 0c0a7e723450 lib/libm/src/w_fmodl.c
--- a/lib/libm/src/w_fmodl.c    Tue Nov 12 23:39:58 2013 +0000
+++ b/lib/libm/src/w_fmodl.c    Wed Nov 13 01:03:08 2013 +0000
@@ -11,7 +11,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: w_fmodl.c,v 1.1 2013/11/12 16:48:39 joerg Exp $");
+__RCSID("$NetBSD: w_fmodl.c,v 1.2 2013/11/13 01:03:08 joerg Exp $");
 
 /*
  * wrapper fmodl(x,y)
@@ -21,6 +21,8 @@
 #include "math.h"
 #include "math_private.h"
 
+#ifdef __HAVE_LONG_DOUBLE
+
 #ifdef __weak_alias
 __weak_alias(fmodl, _fmodl)
 #endif
@@ -40,3 +42,5 @@
            return z;
 #endif
 }
+
+#endif



Home | Main Index | Thread Index | Old Index