diff options
author | DRC <dcommander@users.sourceforge.net> | 2013-02-26 10:34:22 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2013-02-26 10:34:22 +0000 |
commit | 3e7ed8164f77dfdfe62d8bedd35e48d3a8ae575a (patch) | |
tree | 64b41bc5def3bf5c3f8015bdc48092eef6b66e9b /vncviewer/vncviewer.cxx | |
parent | faad79dd78a348a092141a633277b3b6025f82ee (diff) | |
download | tigervnc-3e7ed8164f77dfdfe62d8bedd35e48d3a8ae575a.tar.gz tigervnc-3e7ed8164f77dfdfe62d8bedd35e48d3a8ae575a.zip |
Fix build on 32-bit and 64-bit Windows
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5051 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/vncviewer.cxx')
-rw-r--r-- | vncviewer/vncviewer.cxx | 2 |
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 { |