]> Savannah Git Hosting - gnulib.git/commit
tanf: Avoid redefinition error on MSVC.
authorBruno Haible <bruno@clisp.org>
Sat, 17 Dec 2016 19:48:34 +0000 (20:48 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 17 Dec 2016 22:09:18 +0000 (23:09 +0100)
commit9ef2e6d2053ea4d0068ecc1761f2ec81d4971790
tree47fa7cf17cfba64e52a94276826bf4bca15da04b
parentc7a2c318d3e7af5331ff5571125702c0c57546f6
tanf: Avoid redefinition error on MSVC.

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