1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

utime is always available on Windows

Therefore drop useless preprocessor if check

Closes GH-5563
This commit is contained in:
George Peter Banyard
2020-05-13 00:29:17 +02:00
parent f150b020c0
commit 0e4c7b3264
2 changed files with 1 additions and 5 deletions

View File

@@ -769,7 +769,6 @@ TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf)
}
}/*}}}*/
#if HAVE_UTIME
static zend_always_inline void UnixTimeToFileTime(time_t t, LPFILETIME pft) /* {{{ */
{
// Note that LONGLONG is a 64-bit value
@@ -824,4 +823,3 @@ TSRM_API int win32_utime(const char *filename, struct utimbuf *buf) /* {{{ */
}
/* }}} */
#endif
#endif

View File

@@ -19,9 +19,7 @@
#include "TSRM.h"
#include <windows.h>
#if HAVE_UTIME
# include <sys/utime.h>
#endif
#include <sys/utime.h>
#include "win32/ipc.h"
struct ipc_perm {