From d627667b3111798947b13f4288c2e47ba5bd5e7b Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Fri, 29 Oct 2010 12:57:35 +0000 Subject: [PATCH] [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 --- common/os/os.cxx | 3 +++ 1 file changed, 3 insertions(+) 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 #endif +#ifndef WIN32 #include #include @@ -62,3 +63,5 @@ int gethomedir(char **dirp) return 0; } +#endif + -- 2.39.5