From: George Peter Banyard Date: Tue, 12 May 2020 22:29:17 +0000 (+0200) Subject: utime is always available on Windows X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e4c7b3264ab03793dfee50bc80340de3d21da48;p=php utime is always available on Windows Therefore drop useless preprocessor if check Closes GH-5563 --- diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c index cccb0d3732..05c47d146a 100644 --- a/TSRM/tsrm_win32.c +++ b/TSRM/tsrm_win32.c @@ -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 diff --git a/TSRM/tsrm_win32.h b/TSRM/tsrm_win32.h index 4af6225c93..c16006512a 100644 --- a/TSRM/tsrm_win32.h +++ b/TSRM/tsrm_win32.h @@ -19,9 +19,7 @@ #include "TSRM.h" #include -#if HAVE_UTIME -# include -#endif +#include #include "win32/ipc.h" struct ipc_perm {