summaryrefslogtreecommitdiff
path: root/lib/math.in.h
diff options
context:
space:
mode:
authorAndreas Rottmann <a.rottmann@gmx.at>2009-09-14 12:34:37 +0200
committerAndreas Rottmann <a.rottmann@gmx.at>2009-09-14 12:34:37 +0200
commit3bebb94360f1c2333feb8d504a9fa4f96984d8b7 (patch)
treea8aaac2174791365ed3e9975ae81106a47902f2a /lib/math.in.h
parentfa095a4504cbe668e4244547e2c141597bea4ecf (diff)
Imported Upstream version 0.9.1.1upstream/0.9.1.1
Diffstat (limited to 'lib/math.in.h')
-rw-r--r--lib/math.in.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/math.in.h b/lib/math.in.h
index efca0f0b..d4940515 100644
--- a/lib/math.in.h
+++ b/lib/math.in.h
@@ -148,7 +148,8 @@ extern long double ceill (long double x);
#endif
-#if @GNULIB_MATHL@ || !@HAVE_DECL_COSL@
+#if @GNULIB_MATHL@ || (!@HAVE_DECL_COSL@ && !defined cosl)
+# undef cosl
extern long double cosl (long double x);
#endif
#if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK
@@ -237,7 +238,8 @@ extern long double ldexpl (long double x, int exp);
#endif
-#if @GNULIB_MATHL@ || !@HAVE_DECL_LOGL@
+#if @GNULIB_MATHL@ || (!@HAVE_DECL_LOGL@ && !defined logl)
+# undef logl
extern long double logl (long double x);
#endif
#if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK
@@ -292,7 +294,8 @@ extern long double roundl (long double x);
#endif
-#if @GNULIB_MATHL@ || !@HAVE_DECL_SINL@
+#if @GNULIB_MATHL@ || (!@HAVE_DECL_SINL@ && !defined sinl)
+# undef sinl
extern long double sinl (long double x);
#endif
#if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK