aboutsummaryrefslogtreecommitdiffstats
path: root/common/os
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-10-29 12:57:35 +0000
committerAdam Tkac <atkac@redhat.com>2010-10-29 12:57:35 +0000
commitd627667b3111798947b13f4288c2e47ba5bd5e7b (patch)
tree338d068bd27201e85a54045958ee9e92585e414d /common/os
parent21779fd5e79ceeb5de91665552d7f0cec49c5e79 (diff)
downloadtigervnc-d627667b3111798947b13f4288c2e47ba5bd5e7b.tar.gz
tigervnc-d627667b3111798947b13f4288c2e47ba5bd5e7b.zip
[Bugfix] Don't compile gethomedir function on WIN32
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4178 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/os')
-rw-r--r--common/os/os.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/os/os.cxx b/common/os/os.cxx
index 8d24875d..5d410553 100644
--- a/common/os/os.cxx
+++ b/common/os/os.cxx
@@ -20,6 +20,7 @@
#include <config.h>
#endif
+#ifndef WIN32
#include <os/os.h>
#include <assert.h>
@@ -62,3 +63,5 @@ int gethomedir(char **dirp)
return 0;
}
+#endif
+