Mercurial > hg > octave-kai > gnulib-hg
diff lib/math.in.h @ 9297:3191943555eb
New module 'ceill'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 05 Oct 2007 03:54:50 +0200 |
parents | a19e5992f6f0 |
children | bbbbbf4cd1c5 |
line wrap: on
line diff
--- a/lib/math.in.h +++ b/lib/math.in.h @@ -103,14 +103,16 @@ ceilf (x)) #endif -#if @GNULIB_MATHL@ || !@HAVE_DECL_CEILL@ +#if @GNULIB_CEILL@ +# if !@HAVE_DECL_CEILL@ +# define ceill rpl_ceill extern long double ceill (long double x); -#endif -#if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK +# endif +#elif defined GNULIB_POSIXCHECK # undef ceill # define ceill(x) \ (GL_LINK_WARNING ("ceill is unportable - " \ - "use gnulib module mathl for portability"), \ + "use gnulib module ceill for portability"), \ ceill (x)) #endif