From: Antony Dovgal Date: Fri, 5 Nov 2004 12:31:58 +0000 (+0000) Subject: MFH: fix build (hm. looks like nobody noticed that..) X-Git-Tag: php-5.0.3RC1~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f35c85c192dc843f30d04388532ed232f77a79c;p=php MFH: fix build (hm. looks like nobody noticed that..) --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index d2558c9cf7..e2e4eb3bbc 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1650,13 +1650,10 @@ 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 - ; } /* }}} */