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.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);