File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 24
24
* SUCH DAMAGE.
25
25
*/
26
26
27
- #ifdef __arm__
28
- #include <arm/fenv.h>
29
- #else /* __arm__ */
30
-
31
27
#ifndef _FENV_H_
32
28
#define _FENV_H_
33
29
34
- #include <sys/_types.h>
30
+ #include <stdint.h>
31
+
32
+ #include "cdefs-compat.h"
35
33
36
34
#ifndef __fenv_static
37
35
#define __fenv_static static
@@ -80,7 +78,8 @@ extern const fenv_t __fe_dfl_env;
80
78
#define __mrs_fpsr (__r ) __asm __volatile("mrs %0, fpsr" : "=r" (__r))
81
79
#define __msr_fpsr (__r ) __asm __volatile("msr fpsr, %0" : : "r" (__r))
82
80
83
- __fenv_static __inline int
81
+
82
+ __fenv_static inline int
84
83
feclearexcept (int __excepts )
85
84
{
86
85
fexcept_t __r ;
@@ -246,5 +245,3 @@ fegetexcept(void)
246
245
__END_DECLS
247
246
248
247
#endif /* !_FENV_H_ */
249
-
250
- #endif /* __arm__ */
You can’t perform that action at this time.
0 commit comments