summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/k_standardf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/k_standardf.c')
-rw-r--r--sysdeps/ieee754/k_standardf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/ieee754/k_standardf.c b/sysdeps/ieee754/k_standardf.c
index 2b9c1bddb5..b790ad266d 100644
--- a/sysdeps/ieee754/k_standardf.c
+++ b/sysdeps/ieee754/k_standardf.c
@@ -1,5 +1,5 @@
/* Implement __kernel_standard_f.
- Copyright (C) 2011-2016 Free Software Foundation, Inc.
+ Copyright (C) 2011-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -18,8 +18,10 @@
#include <math.h>
#include <math_private.h>
+#include <math-svid-compat.h>
+#if LIBM_SVID_COMPAT
/* Handle errors for a libm function as specified by TYPE (see
comments in k_standard.c for details), with arguments X and Y,
returning the appropriate return value for that function. */
@@ -29,3 +31,4 @@ __kernel_standard_f (float x, float y, int type)
{
return __kernel_standard (x, y, type);
}
+#endif