From a14261bc42f9f93d6a50731415bb5544708edef7 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Tue, 6 Jun 2000 18:30:06 +0000 Subject: [PATCH] adding definition for EWOULDBLOCK for Win32 to compile --- ext/standard/flock_compat.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/standard/flock_compat.h b/ext/standard/flock_compat.h index 4308c08d9d8..a94be11091f 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) */