summaryrefslogtreecommitdiff
path: root/ext/standard/php_math.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2002-10-24 18:49:57 +0000
committerDerick Rethans <derick@php.net>2002-10-24 18:49:57 +0000
commit67670560e4be002d96250d5402b07055ddef5d2e (patch)
tree3aad2bb4e1c6c17f076553cff09430d80416f0e1 /ext/standard/php_math.h
parent0bac55b4e7633b1218c7ecd68aea927da20d3577 (diff)
downloadphp-git-67670560e4be002d96250d5402b07055ddef5d2e.tar.gz
- Protect function definitions with #ifdef's too
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>