15fb7d88e9
* A few tips for future folks follows. * fenv.h gets wrapped in our buildtools * If anything in the arch fenv.h "doesn't work" buildtools will silently fail early on (autotools HAVE_FENV_H) Change-Id: Icae064fde42af3bbed5ea2eadfaa8c18c677e6a6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2164 Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
24 lines
513 B
C
24 lines
513 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>
|
|
#else
|
|
# error There is no fenv.h for this architecture!
|
|
#endif
|
|
|
|
#endif /* _FENV_H */
|
|
|