;
RETURN_FALSE;
@@ -872,7 +870,7 @@
PHP_FUNCTION(posix_getgrgid)
{
long gid;
-#ifdef HAVE_GETGRGID_R
+#if defined(ZTS) defined(HAVE_GETGRGID_R)
defined(_SC_GETGR_R_SIZE_MAX)
int ret;
struct group _g;
struct group *retgrptr;
@@ -884,7 +882,7
/posix.c:889: error: `_SC_GETGR_R_SIZE_MAX'
undeclared (first use in this function)
/var/build/php-5.2.1/ext/posix/posix.c:889: error: (Each undeclared
identifier is reported only once
/var/build/php-5.2.1/ext/posix/posix.c:889: error: for each function it
appears in.)
Someone with a similar problem
: In function `zif_posix_getgrgid':
/var/build/php-5.2.1/ext/posix/posix.c:889: error: `_SC_GETGR_R_SIZE_MAX'
undeclared (first use in this function)
/var/build/php-5.2.1/ext/posix/posix.c:889: error: (Each undeclared
identifier is reported only once
/var/build/php-5.2.1/ext/posix/posix.c:889
3 matches
Mail list logo