diff options
author | George Peter Banyard <girgias@php.net> | 2020-05-13 00:29:17 +0200 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-05-13 12:05:29 +0200 |
commit | 0e4c7b3264ab03793dfee50bc80340de3d21da48 (patch) | |
tree | f535385a80934c99705e3d6e3a62a8deeb342a10 /TSRM | |
parent | f150b020c08ff077e7dcdf1660b2913ad104c4de (diff) | |
download | php-git-0e4c7b3264ab03793dfee50bc80340de3d21da48.tar.gz |
utime is always available on Windows
Therefore drop useless preprocessor if check
Closes GH-5563
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_win32.c | 2 | ||||
-rw-r--r-- | TSRM/tsrm_win32.h | 4 |
2 files changed, 1 insertions, 5 deletions
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 <windows.h> -#if HAVE_UTIME -# include <sys/utime.h> -#endif +#include <sys/utime.h> #include "win32/ipc.h" struct ipc_perm { |