From b275477b76c8040eadbec8ce866f8b9e53fea1b6 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Wed, 23 Feb 2000 21:37:43 +0000 Subject: (PHP getrusage) don't define this function at all if the getrusage() function is not available on the system. --- ext/standard/basic_functions.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/standard/basic_functions.c') diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 869067f5a7..9b97d609f8 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -242,7 +242,9 @@ function_entry basic_functions[] = { PHP_FE(microtime, NULL) PHP_FE(gettimeofday, NULL) +#ifdef HAVE_GETRUSAGE PHP_FE(getrusage, NULL) +#endif PHP_FE(uniqid, NULL) -- cgit v1.2.1