summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/filestat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c
index 59862ac299..126ace89f9 100644
--- a/ext/standard/filestat.c
+++ b/ext/standard/filestat.c
@@ -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)