9642f7705b
* gcc 7.x defines __arm__ and __ARM__ (and others) * clang defines __arm__ and __arm * cleanup a few related ifdef vs if macros Change-Id: I5da4bafac590f6fa3e10e543688001c2449f840d
18 lines
338 B
C
18 lines
338 B
C
#ifndef _FENV_H
|
|
#define _FENV_H
|
|
|
|
#if defined(__INTEL__)
|
|
# 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 */
|
|
|