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.
This commit is contained in:
Florian Weimer 2015-11-16 21:29:14 +01:00
parent 89569c8bb6
commit b43e85786f
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -18,6 +18,7 @@
#undef _LIBC
#undef _GNU_SOURCE
#undef _Mlong_double_
#define _ISOMAC
#include <math.h>