diff options
Diffstat (limited to 'newlib/libm/math/wf_sincos.c')
-rw-r--r-- | newlib/libm/math/wf_sincos.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libm/math/wf_sincos.c b/newlib/libm/math/wf_sincos.c index 477c60401..69eb922c9 100644 --- a/newlib/libm/math/wf_sincos.c +++ b/newlib/libm/math/wf_sincos.c @@ -1,6 +1,8 @@ /* sincos -- currently no more efficient than two separate calls to sin and cos. */ #include "fdlibm.h" +#if __OBSOLETE_MATH + #include <errno.h> #ifdef __STDC__ @@ -31,3 +33,4 @@ *cosx = cosf((float) x); } #endif /* defined(_DOUBLE_IS_32BITS) */ +#endif /* __OBSOLETE_MATH */ |