Browse Source

fix build

PHP-5.1
Antony Dovgal 22 years ago
parent
commit
b5c1040240
  1. 10
      ext/standard/basic_functions.c

10
ext/standard/basic_functions.c

@ -1734,13 +1734,11 @@ PHP_FUNCTION(sleep)
convert_to_long_ex(num);
#ifdef PHP_SLEEP_NON_VOID
RETURN_LONG(
#endif
php_sleep(Z_LVAL_PP(num))
#ifdef PHP_SLEEP_NON_VOID
)
RETURN_LONG(php_sleep(Z_LVAL_PP(num)));
#else
php_sleep(Z_LVAL_PP(num));
#endif
;
}
/* }}} */

Loading…
Cancel
Save