]> granicus.if.org Git - php/commitdiff
adding definition for EWOULDBLOCK for Win32 to compile
authorFrank M. Kromann <fmk@php.net>
Tue, 6 Jun 2000 18:30:06 +0000 (18:30 +0000)
committerFrank M. Kromann <fmk@php.net>
Tue, 6 Jun 2000 18:30:06 +0000 (18:30 +0000)
ext/standard/flock_compat.h

index 4308c08d9d8c57ae8c1b6d2f3aaa2d6689dc1693..a94be11091f38b05e23bae32a128c6f4fce832c2 100644 (file)
@@ -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) */