diff lib/math.in.h @ 16402:2c3775efa261

atanl: Provide function definition on MSVC. * m4/atanl.m4 (gl_FUNC_ATANL): Test also whether atanl can be used as a function pointer. * lib/math.in.h (atanl): Undefine if it does not exist as a function.
author Bruno Haible <bruno@clisp.org>
date Sat, 25 Feb 2012 01:45:18 +0100
parents 2e3db69dec4a
children e393287b3d95
line wrap: on
line diff
--- a/lib/math.in.h
+++ b/lib/math.in.h
@@ -225,6 +225,7 @@
 
 #if @GNULIB_ATANL@
 # if !@HAVE_ATANL@ || !@HAVE_DECL_ATANL@
+#  undef atanl
 _GL_FUNCDECL_SYS (atanl, long double, (long double x));
 # endif
 _GL_CXXALIAS_SYS (atanl, long double, (long double x));