From: VMware, Inc <> Date: Mon, 22 Aug 2011 20:18:44 +0000 (-0700) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2011.08.21-471295~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d441ed66d232b110e9444da0f292eb61a81a2f84;p=thirdparty%2Fopen-vm-tools.git Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/modules/linux/vsock/linux/vsockSocketWrapper.h b/open-vm-tools/modules/linux/vsock/linux/vsockSocketWrapper.h index a3120d4ea..597edeefe 100644 --- a/open-vm-tools/modules/linux/vsock/linux/vsockSocketWrapper.h +++ b/open-vm-tools/modules/linux/vsock/linux/vsockSocketWrapper.h @@ -156,6 +156,7 @@ # define __ELOCALSHUTDOWN ESHUTDOWN # define __EPEERSHUTDOWN ECONNABORTED # define __ECONNINPROGRESS EWOULDBLOCK +# define __ESNDRCVTIMEDOUT ETIMEDOUT # define ESYSNOTREADY WSASYSNOTREADY #elif defined(VMKERNEL) # define EINTR VMK_WAIT_INTERRUPTED @@ -200,11 +201,13 @@ # define __ELOCALSHUTDOWN EPIPE # define __EPEERSHUTDOWN EPIPE # define __ECONNINPROGRESS EINPROGRESS +# define __ESNDRCVTIMEDOUT VMK_WOULD_BLOCK # define ESYSNOTREADY VMK_NOT_SUPPORTED #elif defined(__APPLE__) # define __ELOCALSHUTDOWN ESHUTDOWN # define __EPEERSHUTDOWN ECONNABORTED # define __ECONNINPROGRESS EINPROGRESS +# define __ESNDRCVTIMEDOUT EAGAIN # define ESYSNOTREADY EOPNOTSUPP #elif defined(linux) # define ESYSNOTREADY EOPNOTSUPP