We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 794ab64 commit abc82aaCopy full SHA for abc82aa
include/openlibm_fenv_aarch64.h
@@ -24,14 +24,12 @@
24
* SUCH DAMAGE.
25
*/
26
27
-#ifdef __arm__
28
-#include <arm/fenv.h>
29
-#else /* __arm__ */
30
-
31
#ifndef _FENV_H_
32
#define _FENV_H_
33
34
-#include <sys/_types.h>
+#include <stdint.h>
+
+#include "cdefs-compat.h"
35
36
#ifndef __fenv_static
37
#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
83
-__fenv_static __inline int
+__fenv_static inline int
84
feclearexcept(int __excepts)
85
{
86
fexcept_t __r;
@@ -246,5 +245,3 @@ fegetexcept(void)
246
245
__END_DECLS
247
248
#endif /* !_FENV_H_ */
249
250
-#endif /* __arm__ */
0 commit comments