summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xext/date/config.w322
-rw-r--r--ext/standard/filestat.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/ext/date/config.w32 b/ext/date/config.w32
index 26283b05c7..25f5e750cd 100755
--- a/ext/date/config.w32
+++ b/ext/date/config.w32
@@ -2,7 +2,7 @@
// vim:ft=javascript
EXTENSION("date", "php_date.c", false, "-Iext/date/lib");
-ADD_SOURCES("ext/date/lib", "timelib.c dow.c parse_date.c parse_tz.c tm2unixtime.c unixtime2tm.c", "date");
+ADD_SOURCES("ext/date/lib", "astro.c timelib.c dow.c parse_date.c parse_tz.c tm2unixtime.c unixtime2tm.c", "date");
AC_DEFINE('HAVE_DATE', 1, 'Have date/time support');
var tl_config = FSO.CreateTextFile("ext/date/lib/timelib_config.h", true);
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c
index 94460b4677..306c438866 100644
--- a/ext/standard/filestat.c
+++ b/ext/standard/filestat.c
@@ -323,7 +323,7 @@ PHP_FUNCTION(disk_free_space)
}
/* }}} */
-
+#if !defined(WINDOWS)
static void php_do_chgrp(INTERNAL_FUNCTION_PARAMETERS, int do_lchgrp)
{
zval **filename, **group;
@@ -368,6 +368,7 @@ static void php_do_chgrp(INTERNAL_FUNCTION_PARAMETERS, int do_lchgrp)
}
RETURN_TRUE;
}
+#endif
#ifndef NETWARE
/* {{{ proto bool chgrp(string filename, mixed group)