haiku/headers/posix/fenv.h
Adrien Destugues 2de6164042 Add missing fenv.h for sparc.
Borrowed from FreeBSD with some changes to get it building.
Now we need to rebuild the gcc package...

Change-Id: I6b8dfd7fb6ca912c76e2ff10fbe01ad583a09aec
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2131
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2020-01-22 00:25:19 +00:00

22 lines
453 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(__sparc__)
# include <arch/sparc64/fenv.h>
#else
# error There is no fenv.h for this architecture!
#endif
#endif /* _FENV_H */