1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-29 14:30:34 +02:00

Use <machine/fpu.h> instead of <fenv.h> when needed (e.g., Tru64 5.1b).

* configure.in: Look for <machine/fpu.h>.

* test-suite/standalone/test-round.c: Use <machine/fpu.h> if available.
This commit is contained in:
Ludovic Courtès 2009-04-23 22:51:27 +02:00
parent fbcc27cfef
commit c50764e72e
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,4 @@
/* Copyright (C) 2004, 2006, 2008 Free Software Foundation, Inc.
/* Copyright (C) 2004, 2006, 2008, 2009 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -25,6 +25,9 @@
#if HAVE_FENV_H
#include <fenv.h>
#elif defined HAVE_MACHINE_FPU_H
/* On Tru64 5.1b, the declaration of fesetround(3) is here. */
# include <machine/fpu.h>
#endif
#include <libguile.h>