]> Savannah Git Hosting - gnulib.git/commit
sinf: Avoid redefinition error on MSVC.
authorBruno Haible <bruno@clisp.org>
Sat, 17 Dec 2016 19:38:33 +0000 (20:38 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 17 Dec 2016 22:09:13 +0000 (23:09 +0100)
commita8cff6cb02078518e50965da9e165d2d5ad495d1
treeccc9ad6baa06b4be810cd09a2a61f6e19a5536b9
parent33b84df8e31cd2e2c9058c3ff935e3ddfc8e01d0
sinf: Avoid redefinition error on MSVC.

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