diff options
Diffstat (limited to 'ext/standard/flock_compat.h')
| -rw-r--r-- | ext/standard/flock_compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/flock_compat.h b/ext/standard/flock_compat.h index 59c8e3bea4..bf927c4ae1 100644 --- a/ext/standard/flock_compat.h +++ b/ext/standard/flock_compat.h @@ -9,10 +9,10 @@ int flock(int fd, int operation); #endif -#if WIN32|WINNT +#if PHP_WIN32 # define fsync _commit # define ftruncate chsize -#endif /* WIN32|WINNT */ +#endif /* PHP_WIN32 */ #if !HAVE_INET_ATON #if HAVE_NETINET_IN_H |
