Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN().

This commit is contained in:
Dmitry Stogov 2006-11-06 14:54:52 +00:00
parent 95fbb9514e
commit 82f89748a4

View File

@ -428,6 +428,7 @@ PHP_FUNCTION(lchgrp)
/* }}} */
#endif
#if !defined(WINDOWS)
static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown)
{
zval **filename, **user;
@ -473,6 +474,7 @@ static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown)
RETURN_FALSE;
}
}
#endif
#ifndef NETWARE
/* {{{ proto bool chown (string filename, mixed user)