about summary refs log tree commit diff
path: root/math/w_atan2f_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_atan2f_compat.c')
-rw-r--r--math/w_atan2f_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_atan2f_compat.c b/math/w_atan2f_compat.c
index 15e05d8253..8d7ad71b70 100644
--- a/math/w_atan2f_compat.c
+++ b/math/w_atan2f_compat.c
@@ -26,6 +26,7 @@
 #include <math-svid-compat.h>
 
 
+#if LIBM_SVID_COMPAT
 float
 __atan2f (float y, float x)
 {
@@ -40,3 +41,4 @@ __atan2f (float y, float x)
   return z;
 }
 weak_alias (__atan2f, atan2f)
+#endif