X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmath.in.h;h=c57e48bb9ed47b7e1fbfcd11608b64dbf3fe8ed1;hb=7c193d625308bb806418c61ec9062fc22a29aeaf;hp=5413d3a160f28f7390d2a8b73b5761c07f6a9384;hpb=a7c48c37cce035f27f23fb59e2ca4d661e035181;p=gnulib.git diff --git a/lib/math.in.h b/lib/math.in.h index 5413d3a16..c57e48bb9 100644 --- a/lib/math.in.h +++ b/lib/math.in.h @@ -533,10 +533,19 @@ _GL_WARN_ON_USE (expl, "expl is unportable - " #if @GNULIB_EXPM1F@ -# if !@HAVE_EXPM1F@ +# if @REPLACE_EXPM1F@ +# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +# undef expm1f +# define expm1f rpl_expm1f +# endif +_GL_FUNCDECL_RPL (expm1f, float, (float x)); +_GL_CXXALIAS_RPL (expm1f, float, (float x)); +# else +# if !@HAVE_EXPM1F@ _GL_FUNCDECL_SYS (expm1f, float, (float x)); -# endif +# endif _GL_CXXALIAS_SYS (expm1f, float, (float x)); +# endif _GL_CXXALIASWARN (expm1f); #elif defined GNULIB_POSIXCHECK # undef expm1f