haiku/headers/posix/fenv.h
Ingo Weinhold 97901ec593 Patch by Nathan Mentley:
* Added a few header files in headers/posix/arch that'll allow for an x86_64
  haiku target to be compiled. fenv.h is src/lib/msun/amd64/fenv.h from
  freebsd.
* configure: Added support for x86_64 arch when running
  build_cross_tools_gcc4.
* config[_build]/HaikuConfig.h, BuildSetup: Added x86_64 recognition.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-11 19:40:06 +00:00

18 lines
332 B
C

#ifndef _FENV_H
#define _FENV_H
#if defined(_X86_)
# 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(__POWERPC__)
# include <arch/ppc/fenv.h>
#else
# error There is no fenv.h for this architecture!
#endif
#endif /* _FENV_H */