about summary refs log tree commit diff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/flt-32/s_sincosf.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/ieee754/flt-32/s_sincosf.c b/sysdeps/ieee754/flt-32/s_sincosf.c
index 1b4d000e11..c3bd998ab7 100644
--- a/sysdeps/ieee754/flt-32/s_sincosf.c
+++ b/sysdeps/ieee754/flt-32/s_sincosf.c
@@ -21,9 +21,14 @@
 
 #include <math_private.h>
 
+#ifndef SINCOSF
+# define SINCOSF_FUNC __sincosf
+#else
+# define SINCOSF_FUNC SINCOSF
+#endif
 
 void
-__sincosf (float x, float *sinx, float *cosx)
+SINCOSF_FUNC (float x, float *sinx, float *cosx)
 {
   int32_t ix;
 
@@ -70,4 +75,7 @@ __sincosf (float x, float *sinx, float *cosx)
 	}
     }
 }
+
+#ifndef SINCOSF
 weak_alias (__sincosf, sincosf)
+#endif