add missing ifdefs

This commit is contained in:
Antony Dovgal 2006-01-13 13:04:01 +00:00
parent 830f12faac
commit b5fd1c0ec3
2 changed files with 4 additions and 1 deletions

View file

@ -382,7 +382,9 @@ zend_function_entry basic_functions[] = {
#endif #endif
#if !defined(PHP_WIN32) && !defined(NETWARE) #if !defined(PHP_WIN32) && !defined(NETWARE)
PHP_FE(expm1, NULL) PHP_FE(expm1, NULL)
# ifdef HAVE_LOG1P
PHP_FE(log1p, NULL) PHP_FE(log1p, NULL)
# endif
#endif #endif
PHP_FE(pi, NULL) PHP_FE(pi, NULL)

View file

@ -68,8 +68,9 @@ PHP_FUNCTION(rad2deg);
*/ */
PHP_FUNCTION(hypot); PHP_FUNCTION(hypot);
PHP_FUNCTION(expm1); PHP_FUNCTION(expm1);
#ifdef HAVE_LOG1P
PHP_FUNCTION(log1p); PHP_FUNCTION(log1p);
#endif
PHP_FUNCTION(sinh); PHP_FUNCTION(sinh);
PHP_FUNCTION(cosh); PHP_FUNCTION(cosh);