From: Antony Dovgal Date: Fri, 13 Jan 2006 13:04:01 +0000 (+0000) Subject: add missing ifdefs X-Git-Tag: RELEASE_1_0_4~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5fd1c0ec3fbd9a11072730a1df74571e922bf38;p=php add missing ifdefs --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index e421c1386c..ba4569212f 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -382,7 +382,9 @@ zend_function_entry basic_functions[] = { #endif #if !defined(PHP_WIN32) && !defined(NETWARE) PHP_FE(expm1, NULL) +# ifdef HAVE_LOG1P PHP_FE(log1p, NULL) +# endif #endif PHP_FE(pi, NULL) 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);