about summary refs log tree commit diff
path: root/sysdeps/ieee754/k_standardl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/k_standardl.c')
-rw-r--r--sysdeps/ieee754/k_standardl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/ieee754/k_standardl.c b/sysdeps/ieee754/k_standardl.c
index 783fd0b87d..484ec91354 100644
--- a/sysdeps/ieee754/k_standardl.c
+++ b/sysdeps/ieee754/k_standardl.c
@@ -38,6 +38,8 @@
 #include <errno.h>
 
 
+#if LIBM_SVID_COMPAT
+
 static double zero = 0.0;
 
 /* Handle errors for a libm function as specified by TYPE (see
@@ -106,3 +108,4 @@ __kernel_standard_l (long double x, long double y, int type)
       return __kernel_standard (dx, dy, type);
     }
 }
+#endif