summaryrefslogtreecommitdiff
path: root/libm/s_matherr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/s_matherr.c')
-rw-r--r--libm/s_matherr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libm/s_matherr.c b/libm/s_matherr.c
index 8c19f43bb..0c102e628 100644
--- a/libm/s_matherr.c
+++ b/libm/s_matherr.c
@@ -17,6 +17,8 @@ static char rcsid[] = "$NetBSD: s_matherr.c,v 1.6 1995/05/10 20:47:53 jtc Exp $"
#include "math.h"
#include "math_private.h"
+#ifndef _IEEE_LIBM
+
libm_hidden_proto(matherr)
#ifdef __STDC__
int matherr(struct exception *x)
@@ -30,3 +32,4 @@ libm_hidden_proto(matherr)
return n;
}
libm_hidden_def(matherr)
+#endif