From: Ilia Alshanetsky Date: Mon, 19 Jun 2006 23:55:11 +0000 (+0000) Subject: MFB: Added missing ifdef block. X-Git-Tag: RELEASE_1_0_0RC1~2694 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e1fd9c0443f19b37935af1a3d9029ac25063b18;p=php MFB: Added missing ifdef block. --- diff --git a/ext/posix/posix.c b/ext/posix/posix.c index 28921033d4..c960874c42 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -1053,6 +1053,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) @@ -1068,6 +1069,7 @@ PHP_FUNCTION(posix_initgroups) RETURN_BOOL(!initgroups((const char *)name, basegid)); } /* }}} */ +#endif /* * Local variables: