Browse Source

add missing ifdefs

migration/RELEASE_1_0_0
Antony Dovgal 21 years ago
parent
commit
b5fd1c0ec3
  1. 2
      ext/standard/basic_functions.c
  2. 3
      ext/standard/php_math.h

2
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)

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

Loading…
Cancel
Save