[libvirt] [PATCH] remote: disable unused function on win32 platform build

Daniel P. Berrangé berrange at redhat.com
Tue Apr 24 18:31:32 UTC 2018


Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---

Pushed as trivial build fix

 src/remote/remote_driver.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index 3973b37d5f..95437b4365 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -712,6 +712,7 @@ remoteConnectSupportsFeatureUnlocked(virConnectPtr conn,
     }
 
 
+#ifndef WIN32
 static char *remoteGetUNIXSocketNonRoot(void)
 {
     char *sockname = NULL;
@@ -729,6 +730,7 @@ static char *remoteGetUNIXSocketNonRoot(void)
     VIR_DEBUG("Chosen UNIX sockname %s", sockname);
     return sockname;
 }
+#endif /* WIN32 */
 
 static char *remoteGetUNIXSocketRoot(unsigned int flags)
 {
-- 
2.14.3




More information about the libvir-list mailing list