]> granicus.if.org Git - php/commitdiff
- Protect function definitions with #ifdef's too
authorDerick Rethans <derick@php.net>
Thu, 24 Oct 2002 18:49:57 +0000 (18:49 +0000)
committerDerick Rethans <derick@php.net>
Thu, 24 Oct 2002 18:49:57 +0000 (18:49 +0000)
ext/standard/php_math.h

index a53b50727eccfa2dafb63eccb84fbb45ed0a1a3b..8cb2b899732bb138097a9dd27d2582fb8086bf15 100644 (file)
@@ -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>