]> granicus.if.org Git - php/commitdiff
MFB: Added missing ifdef block.
authorIlia Alshanetsky <iliaa@php.net>
Mon, 19 Jun 2006 23:55:11 +0000 (23:55 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 19 Jun 2006 23:55:11 +0000 (23:55 +0000)
ext/posix/posix.c

index 28921033d49a5cbd1b7dccac3e7083cbedd4ded0..c960874c42d1165767cf893280f0dc8db376b258 100644 (file)
@@ -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: