diff options
author | marha <marha@users.sourceforge.net> | 2010-10-05 10:44:08 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-10-05 10:44:08 +0000 |
commit | bfa0c2fa423efa7ece6e54d5f30bbe95ca4bfc2a (patch) | |
tree | 37c4a2982fb317254b1ea14dd06c355f9da7826a /libxcb/src | |
parent | fe234aa555e2b16ac7836fee297878a6e3efe343 (diff) | |
parent | 51f3d1e140307561f64c47dae1d44f912accb5cf (diff) | |
download | vcxsrv-bfa0c2fa423efa7ece6e54d5f30bbe95ca4bfc2a.tar.gz vcxsrv-bfa0c2fa423efa7ece6e54d5f30bbe95ca4bfc2a.tar.bz2 vcxsrv-bfa0c2fa423efa7ece6e54d5f30bbe95ca4bfc2a.zip |
svn merge ^/branches/released .
Diffstat (limited to 'libxcb/src')
-rw-r--r-- | libxcb/src/xcb_conn.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libxcb/src/xcb_conn.c b/libxcb/src/xcb_conn.c index 473fcf0c7..e7b02dfd3 100644 --- a/libxcb/src/xcb_conn.c +++ b/libxcb/src/xcb_conn.c @@ -49,6 +49,10 @@ #include <X11/Xtrans/Xtrans.h>
+#ifdef _MSC_VER
+#define _close(fd) closesocket(fd)
+#endif
+
/* SHUT_RDWR is fairly recent and is not available on all platforms */
#if !defined(SHUT_RDWR)
#define SHUT_RDWR 2
|