From c91e0825251b4f57e8ce1d9d4673bee6e279e0cd Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 20 Jun 2013 19:10:44 +0000 Subject: Avoid spurious failures from fallback functions (bug 15654). --- math/fegetround.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'math/fegetround.c') diff --git a/math/fegetround.c b/math/fegetround.c index deb3c5d02b..24bbd16097 100644 --- a/math/fegetround.c +++ b/math/fegetround.c @@ -22,6 +22,10 @@ int fegetround (void) { +#ifdef FE_TONEAREST + return FE_TONEAREST; +#else return 0; +#endif } stub_warning (fegetround) -- cgit v1.2.1