diff lib/math.in.h @ 16391:4576be79e9e7

ceilf: Provide function definition on MSVC. * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): Test also whether ceilf can be used as a function pointer. * lib/math.in.h (ceilf): Undefine if it is not declared as a function.
author Bruno Haible <bruno@clisp.org>
date Sat, 25 Feb 2012 01:09:12 +0100
parents 60e9584368df
children 7e35e3b2a920
line wrap: on
line diff
--- a/lib/math.in.h
+++ b/lib/math.in.h
@@ -262,6 +262,7 @@
 _GL_CXXALIAS_RPL (ceilf, float, (float x));
 # else
 #  if !@HAVE_DECL_CEILF@
+#   undef ceilf
 _GL_FUNCDECL_SYS (ceilf, float, (float x));
 #  endif
 _GL_CXXALIAS_SYS (ceilf, float, (float x));