aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/xcb_util.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-01-13 17:27:26 +0100
committermarha <marha@users.sourceforge.net>2012-01-13 17:27:26 +0100
commit3e85e2f1e33380d6c9efe0972ed475cbf9dbe825 (patch)
tree41a3f6f187cde886a272a913693f685db71007b1 /libxcb/src/xcb_util.c
parente2e1bdced7e09e39fed613dae1f2f3096cb18118 (diff)
downloadvcxsrv-3e85e2f1e33380d6c9efe0972ed475cbf9dbe825.tar.gz
vcxsrv-3e85e2f1e33380d6c9efe0972ed475cbf9dbe825.tar.bz2
vcxsrv-3e85e2f1e33380d6c9efe0972ed475cbf9dbe825.zip
Solved compile errors
Diffstat (limited to 'libxcb/src/xcb_util.c')
-rw-r--r--libxcb/src/xcb_util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libxcb/src/xcb_util.c b/libxcb/src/xcb_util.c
index 645d083e4..f406b0158 100644
--- a/libxcb/src/xcb_util.c
+++ b/libxcb/src/xcb_util.c
@@ -34,8 +34,6 @@
#include <stddef.h>
#include <unistd.h>
#include <string.h>
-#ifndef _MSC_VER
-#endif
#ifdef _WIN32
#include "xcb_windefs.h"
@@ -461,7 +459,7 @@ xcb_connection_t *xcb_connect_to_display_with_auth_info(const char *displayname,
#ifdef _WIN32
WSADATA wsaData;
if (WSAStartup(MAKEWORD(2, 2), &wsaData) != 0) {
- c = (xcb_connection_t *) &error_connection;
+ c = _xcb_conn_ret_error(XCB_CONN_ERROR);
goto out;
}
#endif