From: Ilia Alshanetsky Date: Mon, 19 Jun 2006 23:52:39 +0000 (+0000) Subject: Added missing ifdef block. X-Git-Tag: php-5.2.0RC1~282 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0406556da48899c1bd61ab729538b53eb4ec58a9;p=php Added missing ifdef block. # Thanks Mike --- diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 715f482e8d..b8b6bafd06 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -1059,6 +1059,7 @@ PHP_FUNCTION(posix_strerror) #endif +#ifdef HAVE_INITGROUPS /* {{{ proto bool initgroups(string name, int base_group_id) Calculate the group access list for the user specified in name. */ PHP_FUNCTION(posix_initgroups) @@ -1074,6 +1075,7 @@ PHP_FUNCTION(posix_initgroups) RETURN_BOOL(!initgroups((const char *)name, basegid)); } /* }}} */ +#endif /* * Local variables: