]> granicus.if.org Git - php/commitdiff
Added missing ifdef block.
authorIlia Alshanetsky <iliaa@php.net>
Mon, 19 Jun 2006 23:52:39 +0000 (23:52 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 19 Jun 2006 23:52:39 +0000 (23:52 +0000)
# Thanks Mike

ext/posix/posix.c

index 715f482e8d3cfb68549b5ea501f176dc5171ee34..b8b6bafd064ada8d320ae83e1664ed6d343791a2 100644 (file)
@@ -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: