From a5e8f02f0ed59e1aad32495ef2a051a6851c00f4 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 6 Nov 2006 14:55:14 +0000 Subject: [PATCH] Windows doesn't have chown(). Remove unused function and reference to undeclared macro VCWD_CHOWN(). --- ext/standard/filestat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index c2077669aa..5db97ba85e 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -489,6 +489,7 @@ PHP_FUNCTION(lchgrp) /* }}} */ #endif /* !NETWARE */ +#if !defined(WINDOWS) static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown) { char *filename; @@ -545,6 +546,7 @@ static void php_do_chown(INTERNAL_FUNCTION_PARAMETERS, int do_lchown) RETURN_FALSE; } } +#endif #ifndef NETWARE /* {{{ proto bool chown (string filename, mixed user) U -- 2.50.1