summaryrefslogtreecommitdiff
path: root/ext/standard/php_math.h
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-01-13 13:04:27 +0000
committerAntony Dovgal <tony2001@php.net>2006-01-13 13:04:27 +0000
commit0851c649d16ebac9239ffd7a83336a82a349fb44 (patch)
tree5cc372a97cff33aa34720ffb1803ab4672915d74 /ext/standard/php_math.h
parente6f4c2bce2ab5cf306f471ffa9c778dc7823ecc6 (diff)
downloadphp-git-0851c649d16ebac9239ffd7a83336a82a349fb44.tar.gz
MFH: add missing ifdefs
Diffstat (limited to 'ext/standard/php_math.h')
-rw-r--r--ext/standard/php_math.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/php_math.h b/ext/standard/php_math.h
index 5cff045a26..5e531249f7 100644
--- a/ext/standard/php_math.h
+++ b/ext/standard/php_math.h
@@ -68,8 +68,9 @@ PHP_FUNCTION(rad2deg);
*/
PHP_FUNCTION(hypot);
PHP_FUNCTION(expm1);
+#ifdef HAVE_LOG1P
PHP_FUNCTION(log1p);
-
+#endif
PHP_FUNCTION(sinh);
PHP_FUNCTION(cosh);