diff options
author | Frank M. Kromann <fmk@php.net> | 2000-06-06 18:30:06 +0000 |
---|---|---|
committer | Frank M. Kromann <fmk@php.net> | 2000-06-06 18:30:06 +0000 |
commit | a14261bc42f9f93d6a50731415bb5544708edef7 (patch) | |
tree | 9c11a6434322e59ecb58f1bb1d08d4fe30797686 /ext/standard/flock_compat.h | |
parent | 7864fdfdee26ed9314a10a44f53d2147488df666 (diff) | |
download | php-git-a14261bc42f9f93d6a50731415bb5544708edef7.tar.gz |
adding definition for EWOULDBLOCK for Win32 to compile
Diffstat (limited to 'ext/standard/flock_compat.h')
-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) */ |