summaryrefslogtreecommitdiff
path: root/ext/standard/php_math.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php_math.h')
-rw-r--r--ext/standard/php_math.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/standard/php_math.h b/ext/standard/php_math.h
index a53b50727e..8cb2b89973 100644
--- a/ext/standard/php_math.h
+++ b/ext/standard/php_math.h
@@ -74,9 +74,16 @@ PHP_FUNCTION(log1p);
PHP_FUNCTION(sinh);
PHP_FUNCTION(cosh);
PHP_FUNCTION(tanh);
+
+#ifdef HAVE_ASINH
PHP_FUNCTION(asinh);
+#endif
+#ifdef HAVE_ACOSH
PHP_FUNCTION(acosh);
+#endif
+#ifdef HAVE_ATANH
PHP_FUNCTION(atanh);
+#endif
#include <math.h>