diff options
-rw-r--r-- | ext/standard/filestat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index 2218e59b43..07684d5320 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -481,9 +481,7 @@ PHP_FUNCTION(touch) newtime = &newtimebuf; if (ac == 1 && zend_get_parameters_ex(1, &filename) != FAILURE) { -#ifndef HAVE_UTIME_NULL newtime->modtime = newtime->actime = time(NULL); -#endif } else if (ac == 2 && zend_get_parameters_ex(2, &filename, &filetime) != FAILURE) { convert_to_long_ex(filetime); newtime->actime = time(NULL); |