summaryrefslogtreecommitdiff
path: root/nuttx/lib/math/lib_tan.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/math/lib_tan.c')
-rw-r--r--nuttx/lib/math/lib_tan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/math/lib_tan.c b/nuttx/lib/math/lib_tan.c
index a9a1d8ebe..bce14b327 100644
--- a/nuttx/lib/math/lib_tan.c
+++ b/nuttx/lib/math/lib_tan.c
@@ -38,7 +38,7 @@
* Public Functions
************************************************************************/
-#if CONFIG_HAVE_DOUBLE
+#ifdef CONFIG_HAVE_DOUBLE
double tan(double x)
{
return (sin(x) / cos(x));