From: Andreas Jaeger Date: Wed, 11 Apr 2001 05:42:38 +0000 (+0000) Subject: (initial_tests): Protect FE_TONEAREST declaration. X-Git-Tag: cvs/glibc-2_2_3~119 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=efff4ab3c1c4e438fa14a92a44ea7a5782f3b29b;p=glibc.git (initial_tests): Protect FE_TONEAREST declaration. --- diff --git a/math/test-fenv.c b/math/test-fenv.c index 520a7a182f..2b0ec6aeda 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