summaryrefslogtreecommitdiff
path: root/nuttx/lib/math/lib_tanhl.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-29 20:50:27 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-29 20:50:27 +0000
commitdb6dba5d2953531a0d9a9b86fba7aa583e2c188d (patch)
tree8fd45a18c9cd1431e426bce4902a93f074daa32a /nuttx/lib/math/lib_tanhl.c
parentb7c575a7ec2b15a37e888f94408680303ace71a7 (diff)
downloadpx4-nuttx-db6dba5d2953531a0d9a9b86fba7aa583e2c188d.tar.gz
px4-nuttx-db6dba5d2953531a0d9a9b86fba7aa583e2c188d.tar.bz2
px4-nuttx-db6dba5d2953531a0d9a9b86fba7aa583e2c188d.zip
libm compilation fixes from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5275 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/math/lib_tanhl.c')
-rw-r--r--nuttx/lib/math/lib_tanhl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/math/lib_tanhl.c b/nuttx/lib/math/lib_tanhl.c
index 8b897451e..23c11d667 100644
--- a/nuttx/lib/math/lib_tanhl.c
+++ b/nuttx/lib/math/lib_tanhl.c
@@ -38,7 +38,7 @@
* Public Functions
************************************************************************/
-#if CONFIG_HAVE_LONG_DOUBLE
+#ifdef CONFIG_HAVE_LONG_DOUBLE
long double tanhl(long double x)
{
long double x0 = exp(x);