summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-06-19 23:52:39 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-06-19 23:52:39 +0000
commit0406556da48899c1bd61ab729538b53eb4ec58a9 (patch)
tree2170ade81073d7b77759314d3fc0809bebd4b773
parentba8f17e483137a573fc1b04ca91819bfac7a285a (diff)
downloadphp-git-0406556da48899c1bd61ab729538b53eb4ec58a9.tar.gz
Added missing ifdef block.
# Thanks Mike
-rw-r--r--ext/posix/posix.c2
1 files changed, 2 insertions, 0 deletions
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: