]> sourceware.org Git - glibc.git/commitdiff
(initial_tests): Protect FE_TONEAREST declaration.
authorAndreas Jaeger <aj@suse.de>
Wed, 11 Apr 2001 05:42:38 +0000 (05:42 +0000)
committerAndreas Jaeger <aj@suse.de>
Wed, 11 Apr 2001 05:42:38 +0000 (05:42 +0000)
math/test-fenv.c

index 520a7a182fca81dfb417cdffb573d9f8e04ba9f1..2b0ec6aedaf55d80b707b7c33127ca45733bc571 100644 (file)
@@ -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 <aj@suse.de> and
    Ulrich Drepper <drepper@cygnus.com>, 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
This page took 0.046889 seconds and 5 git commands to generate.