stdlib/tst-strtod-round.c: Fix build on ARM
commitdc6fe23ba65714781a3d26270c132c0ca0ca5beb
authorWill Newton <will.newton@linaro.org>
Tue, 16 Sep 2014 19:37:04 +0000 (16 12:37 -0700)
committerWill Newton <will.newton@linaro.org>
Tue, 30 Sep 2014 14:03:50 +0000 (30 15:03 +0100)
treed44b7f4ca8a8b152531763ae5b1b738895101f6e
parent85bb81c91b9cf7495aa4d7e567eae2861f54b997
stdlib/tst-strtod-round.c: Fix build on ARM

Building this test on ARM fails because the prototypes for the long
double variants of the math functions are unavailable.

Add an additional include guard to math.h that enables long double math
function declarations if _LIBC_TEST is defined and define _LIBC_TEST in
stdlib/tst-strtod-round.c.

ChangeLog:

2014-09-30  Will Newton  <will.newton@linaro.org>

* math/math.h: Define long double math functions if
_LIBC_TEST is defined.
* stdlib/tst-strtod-round.c: Define _LIBC_TEST.
ChangeLog
math/math.h
stdlib/tst-strtod-round.c