From efff4ab3c1c4e438fa14a92a44ea7a5782f3b29b Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 11 Apr 2001 05:42:38 +0000 Subject: [PATCH] (initial_tests): Protect FE_TONEAREST declaration. --- math/test-fenv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/math/test-fenv.c b/math/test-fenv.c index 520a7a1..2b0ec6a 100644 --- a/math/test-fenv.c +++ b/math/test-fenv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger and Ulrich Drepper , 1997. @@ -640,8 +640,10 @@ initial_tests (void) { test_exceptions ("Initially all exceptions should be cleared", NO_EXC, 0); +#ifdef FE_TONEAREST test_rounding ("Rounding direction should be initalized to nearest", FE_TONEAREST); +#endif } int -- 2.7.4