about summary refs log tree commit diff
path: root/math/w_fmodl_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_fmodl_compat.c')
-rw-r--r--math/w_fmodl_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_fmodl_compat.c b/math/w_fmodl_compat.c
index 23422fa652..3136e82d65 100644
--- a/math/w_fmodl_compat.c
+++ b/math/w_fmodl_compat.c
@@ -20,6 +20,7 @@
 #include <math_private.h>
 #include <math-svid-compat.h>
 
+#if LIBM_SVID_COMPAT
 /* wrapper fmodl */
 long double
 __fmodl (long double x, long double y)
@@ -32,3 +33,4 @@ __fmodl (long double x, long double y)
   return __ieee754_fmodl (x, y);
 }
 weak_alias (__fmodl, fmodl)
+#endif