This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.14-406-gee2aafe
- From: schwab at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 22 Oct 2011 15:52:07 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.14-406-gee2aafe
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via ee2aafe08e68c88412b7dcfa4b1e0d11789348f8 (commit)
from bc62c2fb152d6ffec63975d88fd8f1bc3d3b7c01 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ee2aafe08e68c88412b7dcfa4b1e0d11789348f8
commit ee2aafe08e68c88412b7dcfa4b1e0d11789348f8
Author: Andreas Schwab <schwab@linux-m68k.org>
Date: Sat Oct 22 13:49:49 2011 +0200
Fix compilation due to __nan defines
diff --git a/ChangeLog b/ChangeLog
index adc9025..4d0651a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
+
+ * math/s_nan.c: Undef __nan.
+ * math/s_nanf.c: Undef __nanf.
+ * math/s_nanl.c: Undef __nanl.
+ * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
+ "math_private.h".
+
2011-10-22 Ulrich Drepper <drepper@gmail.com>
* math/math_private.h: Define __nan, __nanf, __nanl.
diff --git a/math/s_nan.c b/math/s_nan.c
index 9b2c505..97f9d89 100644
--- a/math/s_nan.c
+++ b/math/s_nan.c
@@ -25,6 +25,7 @@
#include <ieee754.h>
+#undef __nan
double
__nan (const char *tagp)
{
diff --git a/math/s_nanf.c b/math/s_nanf.c
index 2e1b1eb..6161bcd 100644
--- a/math/s_nanf.c
+++ b/math/s_nanf.c
@@ -25,6 +25,7 @@
#include <ieee754.h>
+#undef __nanf
float
__nanf (const char *tagp)
{
diff --git a/math/s_nanl.c b/math/s_nanl.c
index 9709b92..1db2464 100644
--- a/math/s_nanl.c
+++ b/math/s_nanl.c
@@ -25,6 +25,7 @@
#include <ieee754.h>
+#undef __nanl
long double
__nanl (const char *tagp)
{
diff --git a/sysdeps/ieee754/ldbl-128ibm/s_atanl.c b/sysdeps/ieee754/ldbl-128ibm/s_atanl.c
index b6195f1..db31e4f 100644
--- a/sysdeps/ieee754/ldbl-128ibm/s_atanl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/s_atanl.c
@@ -59,6 +59,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+#include <math.h>
#include "math_private.h"
#include <math_ldbl_opt.h>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
math/s_nan.c | 1 +
math/s_nanf.c | 1 +
math/s_nanl.c | 1 +
sysdeps/ieee754/ldbl-128ibm/s_atanl.c | 1 +
5 files changed, 12 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources