summaryrefslogtreecommitdiffstats
path: root/libvncclient/rfbproto.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncclient/rfbproto.c')
-rw-r--r--libvncclient/rfbproto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
index fb724f5..9d180ce 100644
--- a/libvncclient/rfbproto.c
+++ b/libvncclient/rfbproto.c
@@ -344,6 +344,7 @@ DefaultSupportedMessagesTightVNC(rfbClient* client)
SetServer2Client(client, rfbTextChat);
}
+#ifndef WIN32
static rfbBool
IsUnixSocket(const char *name)
{
@@ -352,6 +353,7 @@ IsUnixSocket(const char *name)
return TRUE;
return FALSE;
}
+#endif
/*
* ConnectToRFBServer.
OpenPOWER on IntegriCloud