mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 22:40: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:
parent
fbcc27cfef
commit
c50764e72e
2 changed files with 7 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue