aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/vncviewer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/vncviewer.cxx')
-rw-r--r--vncviewer/vncviewer.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx
index 6cf1d89f..37d63a6c 100644
--- a/vncviewer/vncviewer.cxx
+++ b/vncviewer/vncviewer.cxx
@@ -444,6 +444,7 @@ int main(int argc, char** argv)
Socket *sock = NULL;
+#ifndef WIN32
/* Specifying -via and -listen together is nonsense */
if (listenMode && strlen(via.getValueStr()) > 0) {
vlog.error("Parameters -listen and -via are incompatible");
@@ -451,6 +452,7 @@ int main(int argc, char** argv)
exit_vncviewer();
return 1;
}
+#endif
if (listenMode) {
try {