aboutsummaryrefslogtreecommitdiff
path: root/X11/xtrans
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-05-10 08:05:24 +0000
committermarha <marha@users.sourceforge.net>2010-05-10 08:05:24 +0000
commit20a84cc5bb91a8708cd9e9ebcd1715ceeab8dae2 (patch)
tree05f468467129440650be059a5730dd7fa40e4478 /X11/xtrans
parentce096e72edce5f4f9b99f1d8b758558a2cd0c6d5 (diff)
downloadvcxsrv-20a84cc5bb91a8708cd9e9ebcd1715ceeab8dae2.tar.gz
vcxsrv-20a84cc5bb91a8708cd9e9ebcd1715ceeab8dae2.tar.bz2
vcxsrv-20a84cc5bb91a8708cd9e9ebcd1715ceeab8dae2.zip
Solved compile time warnings
Diffstat (limited to 'X11/xtrans')
-rw-r--r--X11/xtrans/Xtranssock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/X11/xtrans/Xtranssock.c b/X11/xtrans/Xtranssock.c
index 4c39c4064..6fc9479f5 100644
--- a/X11/xtrans/Xtranssock.c
+++ b/X11/xtrans/Xtranssock.c
@@ -108,11 +108,15 @@ from the copyright holders.
#include <X11/Xw32defs.h>
#undef close
#define close closesocket
+#undef ECONNREFUSED
#define ECONNREFUSED WSAECONNREFUSED
+#undef EADDRINUSE
#define EADDRINUSE WSAEADDRINUSE
+#undef EPROTOTYPE
#define EPROTOTYPE WSAEPROTOTYPE
#undef EWOULDBLOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
+#undef EINPROGRESS
#define EINPROGRESS WSAEINPROGRESS
#undef EINTR
#define EINTR WSAEINTR