summaryrefslogtreecommitdiff
path: root/nuttx/lib/math/lib_acosl.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/math/lib_acosl.c')
-rw-r--r--nuttx/lib/math/lib_acosl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/math/lib_acosl.c b/nuttx/lib/math/lib_acosl.c
index 3b6fa8aa9..911330577 100644
--- a/nuttx/lib/math/lib_acosl.c
+++ b/nuttx/lib/math/lib_acosl.c
@@ -38,7 +38,7 @@
* Public Functions
************************************************************************/
-#if CONFIG_HAVE_LONG_DOUBLE
+#ifdef CONFIG_HAVE_LONG_DOUBLE
long double acosl(long double x)
{
return (M_PI_2 - asinl(x));