cvs: php4 /ext/standard php_math.h
| From: | Derick Rethans | Date: | Thu, 24 Oct 2002 18:49:57 +0000 |
| Subject: | cvs: php4 /ext/standard php_math.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15383@lists.php.net to get a copy of this message | ||
derick Thu Oct 24 14:49:57 2002 EDT
Modified files:
/php4/ext/standard php_math.h
Log:
- Protect function definitions with #ifdef's too
Index: php4/ext/standard/php_math.h
diff -u php4/ext/standard/php_math.h:1.16 php4/ext/standard/php_math.h:1.17
--- php4/ext/standard/php_math.h:1.16 Thu Feb 28 03:26:47 2002
+++ php4/ext/standard/php_math.h Thu Oct 24 14:49:57 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_math.h,v 1.16 2002/02/28 08:26:47 sebastian Exp $ */
+/* $Id: php_math.h,v 1.17 2002/10/24 18:49:57 derick Exp $ */
#ifndef PHP_MATH_H
#define PHP_MATH_H
@@ -74,9 +74,16 @@
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>