From 6f35c85c192dc843f30d04388532ed232f77a79c Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Fri, 5 Nov 2004 12:31:58 +0000 Subject: [PATCH] MFH: fix build (hm. looks like nobody noticed that..) --- ext/standard/basic_functions.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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 - ; } /* }}} */ -- 2.50.1