Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/math/w_exp2.c')
-rw-r--r--newlib/libm/math/w_exp2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libm/math/w_exp2.c b/newlib/libm/math/w_exp2.c
index 3e41dfc79..c48bdf699 100644
--- a/newlib/libm/math/w_exp2.c
+++ b/newlib/libm/math/w_exp2.c
@@ -52,6 +52,7 @@ PORTABILITY
*/
#include "fdlibm.h"
+#if __OBSOLETE_MATH
#include <errno.h>
#include <math.h>
@@ -68,3 +69,4 @@ PORTABILITY
}
#endif /* defined(_DOUBLE_IS_32BITS) */
+#endif /* __OBSOLETE_MATH */