comparison 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
comparison
equal deleted inserted replaced
16390:60e9584368df 16391:4576be79e9e7
260 # endif 260 # endif
261 _GL_FUNCDECL_RPL (ceilf, float, (float x)); 261 _GL_FUNCDECL_RPL (ceilf, float, (float x));
262 _GL_CXXALIAS_RPL (ceilf, float, (float x)); 262 _GL_CXXALIAS_RPL (ceilf, float, (float x));
263 # else 263 # else
264 # if !@HAVE_DECL_CEILF@ 264 # if !@HAVE_DECL_CEILF@
265 # undef ceilf
265 _GL_FUNCDECL_SYS (ceilf, float, (float x)); 266 _GL_FUNCDECL_SYS (ceilf, float, (float x));
266 # endif 267 # endif
267 _GL_CXXALIAS_SYS (ceilf, float, (float x)); 268 _GL_CXXALIAS_SYS (ceilf, float, (float x));
268 # endif 269 # endif
269 _GL_CXXALIASWARN (ceilf); 270 _GL_CXXALIASWARN (ceilf);