+2009-07-25 Bruno Haible <bruno@clisp.org>
+
+ * lib/math.in.h (cosl, logl, sinl): Don't declare if they are already
+ defined as macros. Needed on QNX 6.4.1.
+ Reported by Matt Kraai <mkraai@beckman.com>.
+
2009-07-25 Bruno Haible <bruno@clisp.org>
* gnulib-tool (func_create_testdir, func_create_megatestdir): Exclude
#endif
-#if @GNULIB_MATHL@ || !@HAVE_DECL_COSL@
+#if @GNULIB_MATHL@ || (!@HAVE_DECL_COSL@ && !defined cosl)
extern long double cosl (long double x);
#endif
#if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK
#endif
-#if @GNULIB_MATHL@ || !@HAVE_DECL_LOGL@
+#if @GNULIB_MATHL@ || (!@HAVE_DECL_LOGL@ && !defined logl)
extern long double logl (long double x);
#endif
#if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK
#endif
-#if @GNULIB_MATHL@ || !@HAVE_DECL_SINL@
+#if @GNULIB_MATHL@ || (!@HAVE_DECL_SINL@ && !defined sinl)
extern long double sinl (long double x);
#endif
#if !@GNULIB_MATHL@ && defined GNULIB_POSIXCHECK