]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix Windows VMCI/vSockets build.
authorVMware, Inc <>
Thu, 27 Oct 2011 18:39:22 +0000 (11:39 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Thu, 27 Oct 2011 18:39:22 +0000 (11:39 -0700)
The recent non-blocking change left out the extra "canBlock"
parameter from the Windows-specific code.  It was also missing
the declaration for TryAcquire() and the definition of EAGAIN.

Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/modules/linux/vsock/linux/vsockSocketWrapper.h

index 114ec9a6c4862b0d51c035c3f5a3f0c79d1a2acc..3517dcc9d8511b0acc153cf96177fa8a88390861 100644 (file)
 # if !defined(ENOSYS)
 #  define ENOSYS              WSAEOPNOTSUPP
 # endif
+# if !defined(EAGAIN)
+#  define EAGAIN              WSAEWOULDBLOCK
+# endif
 #  define EWOULDBLOCK         WSAEWOULDBLOCK
 #  define EINPROGRESS         WSAEINPROGRESS
 #  define EALREADY            WSAEALREADY