]> Savannah Git Hosting - gnulib.git/commit
expf: Avoid redefinition error on MSVC.
authorBruno Haible <bruno@clisp.org>
Sat, 17 Dec 2016 18:41:12 +0000 (19:41 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 17 Dec 2016 22:09:07 +0000 (23:09 +0100)
commit21ec014a2ffe8d53dd1d4744ff5775853340e3cb
tree7523ff9087890c245d2d595bed9c20a374fdeced
parentc3c53687f7772af44c67899be922b385a68533b0
expf: Avoid redefinition error on MSVC.

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