425515d0ac
Somehow the first review merged only the commit log. FreeBSD doesn't have m68k anyway, so use fenv from musl with as less changes as possible. Change-Id: I6372af6679e6773fbb6bf4c8b5b30512971a97a6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3161 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
26 lines
567 B
C
26 lines
567 B
C
#ifndef _FENV_H
|
|
#define _FENV_H
|
|
|
|
#if defined(__i386__)
|
|
# include <arch/x86/fenv.h>
|
|
#elif defined(__x86_64__)
|
|
# include <arch/x86_64/fenv.h>
|
|
#elif defined(__arm__)
|
|
# include <arch/arm/fenv.h>
|
|
#elif defined(__aarch64__)
|
|
# include <arch/arm64/fenv.h>
|
|
#elif defined(__POWERPC__)
|
|
# include <arch/ppc/fenv.h>
|
|
#elif defined(__riscv64__)
|
|
# include <arch/riscv64/fenv.h>
|
|
#elif defined(__sparc__)
|
|
# include <arch/sparc64/fenv.h>
|
|
#elif defined(__M68K__)
|
|
# include <arch/m68k/fenv.h>
|
|
#else
|
|
# error There is no fenv.h for this architecture!
|
|
#endif
|
|
|
|
#endif /* _FENV_H */
|
|
|