about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2015-11-16 21:29:14 +0100
committerFlorian Weimer <fweimer@redhat.com>2015-11-16 21:29:14 +0100
commitb43e85786f6a6954c3d750aa2914b6ceecade378 (patch)
tree0c5467624974dcbccdfe7d9286db71c0219a2252
parent89569c8bb6b386db4881af0e96514d2ec5c35478 (diff)
downloadglibc-b43e85786f6a6954c3d750aa2914b6ceecade378.tar.gz
glibc-b43e85786f6a6954c3d750aa2914b6ceecade378.tar.xz
glibc-b43e85786f6a6954c3d750aa2914b6ceecade378.zip
Work around conflicting declarations of math functions
This restores compilation on architectures such as armhfp which
alias acos and acosl because double and long double are the same.
-rw-r--r--ChangeLog4
-rw-r--r--math/test-signgam-finite-c99.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b1b25c60ec..dd5a2b5b18 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-11-16  Florian Weimer  <fweimer@redhat.com>
+
+	* math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
+
 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* config.make.in (have-glob-dat-reloc): New.
diff --git a/math/test-signgam-finite-c99.c b/math/test-signgam-finite-c99.c
index fd9cdd37dc..bd3bdca661 100644
--- a/math/test-signgam-finite-c99.c
+++ b/math/test-signgam-finite-c99.c
@@ -18,6 +18,7 @@
 
 #undef _LIBC
 #undef _GNU_SOURCE
+#undef _Mlong_double_
 #define _ISOMAC
 
 #include <math.h>