summaryrefslogtreecommitdiff
path: root/nuttx/lib/math/lib_coshl.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/math/lib_coshl.c')
-rw-r--r--nuttx/lib/math/lib_coshl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/math/lib_coshl.c b/nuttx/lib/math/lib_coshl.c
index d43912745..4576b8876 100644
--- a/nuttx/lib/math/lib_coshl.c
+++ b/nuttx/lib/math/lib_coshl.c
@@ -38,7 +38,7 @@
* Public Functions
************************************************************************/
-#if CONFIG_HAVE_LONG_DOUBLE
+#ifdef CONFIG_HAVE_LONG_DOUBLE
long double coshl(long double x)
{
x = expl(x);