summaryrefslogtreecommitdiff
path: root/lib/math.in.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-04-04 21:18:03 +0200
committerBruno Haible <bruno@clisp.org>2010-04-04 21:18:03 +0200
commite8c6a4c62aad74ce3f077178d5ee126ccb1ad10e (patch)
tree99acae7b911e52d9debfa8df3ff6bcd9b99ef089 /lib/math.in.h
parentc77f9c8110a2752a41e2befb227bdfb6b78632ee (diff)
downloadgnulib-e8c6a4c62aad74ce3f077178d5ee126ccb1ad10e.tar.gz
math: Fix some C++ test errors on Solaris 8 and Cygwin.
Diffstat (limited to 'lib/math.in.h')
-rw-r--r--lib/math.in.h39
1 files changed, 6 insertions, 33 deletions
diff --git a/lib/math.in.h b/lib/math.in.h
index 001d59a1df..86fcf08985 100644
--- a/lib/math.in.h
+++ b/lib/math.in.h
@@ -225,19 +225,10 @@ _GL_WARN_ON_USE (ceill, "ceill is unportable - "
#if @GNULIB_COSL@
-# if !@HAVE_COSL@
-# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-# undef cosl
-# define cosl rpl_cosl
-# endif
-_GL_FUNCDECL_RPL (cosl, long double, (long double x));
-_GL_CXXALIAS_RPL (cosl, long double, (long double x));
-# else
-# if !@HAVE_DECL_COSL@
+# if !@HAVE_COSL@ || !@HAVE_DECL_COSL@
_GL_FUNCDECL_SYS (cosl, long double, (long double x));
-# endif
-_GL_CXXALIAS_SYS (cosl, long double, (long double x));
# endif
+_GL_CXXALIAS_SYS (cosl, long double, (long double x));
_GL_CXXALIASWARN (cosl);
#elif defined GNULIB_POSIXCHECK
# undef cosl
@@ -371,19 +362,10 @@ _GL_WARN_ON_USE (ldexpl, "ldexpl is unportable - "
#if @GNULIB_LOGL@
-# if !@HAVE_LOGL@
-# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-# undef logl
-# define logl rpl_logl
-# endif
-_GL_FUNCDECL_RPL (logl, long double, (long double x));
-_GL_CXXALIAS_RPL (logl, long double, (long double x));
-# else
-# if !@HAVE_DECL_LOGL@
+# if !@HAVE_LOGL@ || !@HAVE_DECL_LOGL@
_GL_FUNCDECL_SYS (logl, long double, (long double x));
-# endif
-_GL_CXXALIAS_SYS (logl, long double, (long double x));
# endif
+_GL_CXXALIAS_SYS (logl, long double, (long double x));
_GL_CXXALIASWARN (logl);
#elif defined GNULIB_POSIXCHECK
# undef logl
@@ -465,19 +447,10 @@ _GL_WARN_ON_USE (roundl, "roundl is unportable - "
#if @GNULIB_SINL@
-# if !@HAVE_SINL@
-# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
-# undef sinl
-# define sinl rpl_sinl
-# endif
-_GL_FUNCDECL_RPL (sinl, long double, (long double x));
-_GL_CXXALIAS_RPL (sinl, long double, (long double x));
-# else
-# if !@HAVE_DECL_SINL@
+# if !@HAVE_SINL@ || !@HAVE_DECL_SINL@
_GL_FUNCDECL_SYS (sinl, long double, (long double x));
-# endif
-_GL_CXXALIAS_SYS (sinl, long double, (long double x));
# endif
+_GL_CXXALIAS_SYS (sinl, long double, (long double x));
_GL_CXXALIASWARN (sinl);
#elif defined GNULIB_POSIXCHECK
# undef sinl