]> Savannah Git Hosting - gnulib.git/commit
tanhf: Avoid redefinition error on MSVC.
authorBruno Haible <bruno@clisp.org>
Sat, 17 Dec 2016 19:51:33 +0000 (20:51 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 17 Dec 2016 22:09:19 +0000 (23:09 +0100)
commit51150279ad36c1b1bf180ff9e81542ebf192500e
tree2899720d75d205e47f9300086054a00428ef95b0
parent9ef2e6d2053ea4d0068ecc1761f2ec81d4971790
tanhf: Avoid redefinition error on MSVC.

* m4/math_h.m4 (gl_MATH_H_DEFAULTS): Define REPLACE_TANHF.
* m4/tanhf.m4 (gl_FUNC_TANHF): Set REPLACE_TANHF to 1 if the function
may be defined as an inline function.
* modules/math (Makefile.am): Substitute REPLACE_TANHF.
* lib/math.in.h (tanhf): Override if REPLACE_TANHF is 1.
ChangeLog
lib/math.in.h
m4/math_h.m4
m4/tanhf.m4
modules/math