+2010-04-04 Bruno Haible <bruno@clisp.org>
+
+ math: Fix some C++ test errors on Solaris 8.
+ * lib/math.in.h (truncf, trunc): Use simpler idiom.
+
2010-04-04 Bruno Haible <bruno@clisp.org>
math: Fix some C++ test errors on Cygwin.
#if @GNULIB_TRUNCF@
# if !@HAVE_DECL_TRUNCF@
-# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-# define truncf rpl_truncf
-# endif
-_GL_FUNCDECL_RPL (truncf, float, (float x));
-_GL_CXXALIAS_RPL (truncf, float, (float x));
-# else
-_GL_CXXALIAS_SYS (truncf, float, (float x));
+_GL_FUNCDECL_SYS (truncf, float, (float x));
# endif
+_GL_CXXALIAS_SYS (truncf, float, (float x));
_GL_CXXALIASWARN (truncf);
#elif defined GNULIB_POSIXCHECK
# undef truncf
#if @GNULIB_TRUNC@
# if !@HAVE_DECL_TRUNC@
-# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-# define trunc rpl_trunc
-# endif
-_GL_FUNCDECL_RPL (trunc, double, (double x));
-_GL_CXXALIAS_RPL (trunc, double, (double x));
-# else
-_GL_CXXALIAS_SYS (trunc, double, (double x));
+_GL_FUNCDECL_SYS (trunc, double, (double x));
# endif
+_GL_CXXALIAS_SYS (trunc, double, (double x));
_GL_CXXALIASWARN (trunc);
#elif defined GNULIB_POSIXCHECK
# undef trunc