From: Antony Dovgal Date: Wed, 3 Nov 2004 06:22:08 +0000 (+0000) Subject: fix build X-Git-Tag: RELEASE_0_2~752 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5c1040240bb2ad0fe149c6ff2d5a00a29775d47;p=php fix build --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 0695209540..6b91c80a02 100644 --- a/ext/standard/basic_functions.c +++ b/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 - ; + } /* }}} */