summaryrefslogtreecommitdiff
path: root/modules/math
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2016-12-17 19:21:51 +0100
committerBruno Haible <bruno@clisp.org>2016-12-17 23:09:02 +0100
commit4d3d2763fe89ba36c256f496f0e095c650756705 (patch)
treed60089c9fc63acee2938864500b6e69590ca6dd4 /modules/math
parent6cd601d2b97592e7bd603bd8e0ec8aec7034faec (diff)
downloadgnulib-4d3d2763fe89ba36c256f496f0e095c650756705.tar.gz
atanf: Avoid redefinition error on MSVC.
* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Define REPLACE_ATANF. * m4/atanf.m4 (gl_FUNC_ATANF): Set REPLACE_ATANF to 1 if the function may be defined as an inline function. * modules/math (Makefile.am): Substitute REPLACE_ATANF. * lib/math.in.h (atanf): Override if REPLACE_ATANF is 1.
Diffstat (limited to 'modules/math')
-rw-r--r--modules/math1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/math b/modules/math
index 07a9f47dcd..bc8bc7b03f 100644
--- a/modules/math
+++ b/modules/math
@@ -227,6 +227,7 @@ math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(
| \
sed -e 's|@''REPLACE_ACOSF''@|$(REPLACE_ACOSF)|g' \
-e 's|@''REPLACE_ASINF''@|$(REPLACE_ASINF)|g' \
+ -e 's|@''REPLACE_ATANF''@|$(REPLACE_ATANF)|g' \
-e 's|@''REPLACE_CBRTF''@|$(REPLACE_CBRTF)|g' \
-e 's|@''REPLACE_CBRTL''@|$(REPLACE_CBRTL)|g' \
-e 's|@''REPLACE_CEIL''@|$(REPLACE_CEIL)|g' \