mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-05 19:35:52 +03:00
(initial_tests): Protect FE_TONEAREST declaration.
This commit is contained in:
@@ -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.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Andreas Jaeger <aj@suse.de> and
|
Contributed by Andreas Jaeger <aj@suse.de> and
|
||||||
Ulrich Drepper <drepper@cygnus.com>, 1997.
|
Ulrich Drepper <drepper@cygnus.com>, 1997.
|
||||||
@@ -640,8 +640,10 @@ initial_tests (void)
|
|||||||
{
|
{
|
||||||
test_exceptions ("Initially all exceptions should be cleared",
|
test_exceptions ("Initially all exceptions should be cleared",
|
||||||
NO_EXC, 0);
|
NO_EXC, 0);
|
||||||
|
#ifdef FE_TONEAREST
|
||||||
test_rounding ("Rounding direction should be initalized to nearest",
|
test_rounding ("Rounding direction should be initalized to nearest",
|
||||||
FE_TONEAREST);
|
FE_TONEAREST);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Reference in New Issue
Block a user