Work around conflicting declarations of math functions
authorFlorian Weimer <fweimer@redhat.com>
Mon, 16 Nov 2015 20:29:14 +0000 (21:29 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 16 Nov 2015 20:29:14 +0000 (21:29 +0100)
This restores compilation on architectures such as armhfp which
alias acos and acosl because double and long double are the same.

ChangeLog
math/test-signgam-finite-c99.c

index b1b25c60ec84b55e19953cb03abd0eac81450547..dd5a2b5b18a369a3cfe08dabcb0ebe8eed7c8627 100644 (file)
--- 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.
index fd9cdd37dc14d179b0ccf4f9e5bb6ea240797776..bd3bdca6612733b5e3b1c8d98ad575ae61089755 100644 (file)
@@ -18,6 +18,7 @@
 
 #undef _LIBC
 #undef _GNU_SOURCE
+#undef _Mlong_double_
 #define _ISOMAC
 
 #include <math.h>