diff options
-rw-r--r-- | ext/standard/flock_compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/flock_compat.h b/ext/standard/flock_compat.h index 4308c08d9d..a94be11091 100644 --- a/ext/standard/flock_compat.h +++ b/ext/standard/flock_compat.h @@ -10,6 +10,7 @@ int flock(int fd, int operation); #endif #ifdef PHP_WIN32 +#define EWOULDBLOCK WSAEWOULDBLOCK # define fsync _commit # define ftruncate(a,b) chsize(a,b) #endif /* defined(PHP_WIN32) */ |