diff options
Diffstat (limited to 'sysdeps/ieee754/k_standardl.c')
-rw-r--r-- | sysdeps/ieee754/k_standardl.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/ieee754/k_standardl.c b/sysdeps/ieee754/k_standardl.c index d2d6f7466e..58abc22b6e 100644 --- a/sysdeps/ieee754/k_standardl.c +++ b/sysdeps/ieee754/k_standardl.c @@ -1,5 +1,5 @@ /* Implement __kernel_standard_l. - Copyright (C) 2012-2016 Free Software Foundation, Inc. + Copyright (C) 2012-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 @@ -31,12 +31,16 @@ */ #include <math.h> +#include <math-barriers.h> #include <math_private.h> +#include <math-svid-compat.h> #include <fenv.h> #include <float.h> #include <errno.h> +#if LIBM_SVID_COMPAT + static double zero = 0.0; /* Handle errors for a libm function as specified by TYPE (see @@ -105,3 +109,4 @@ __kernel_standard_l (long double x, long double y, int type) return __kernel_standard (dx, dy, type); } } +#endif |