summaryrefslogtreecommitdiff
path: root/sysdeps/m68k/fpu/s_isinf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/m68k/fpu/s_isinf.c')
-rw-r--r--sysdeps/m68k/fpu/s_isinf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/m68k/fpu/s_isinf.c b/sysdeps/m68k/fpu/s_isinf.c
index eec07c7d3a..570a7ba7bb 100644
--- a/sysdeps/m68k/fpu/s_isinf.c
+++ b/sysdeps/m68k/fpu/s_isinf.c
@@ -22,11 +22,14 @@ Cambridge, MA 02139, USA. */
#ifndef FUNC
#define FUNC isinf
#endif
+#ifndef float_type
+#define float_type double
+#endif
#define __CONCATX(a,b) __CONCAT(a,b)
int
-DEFUN(__CONCATX(__,FUNC), (x), double x)
+DEFUN(__CONCATX(__,FUNC), (x), float_type x)
{
return __m81_u(__CONCATX(__,FUNC))(x);
}