[phodav] Fix build on non-win32
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [phodav] Fix build on non-win32
- Date: Thu, 30 Jun 2016 10:18:07 +0000 (UTC)
commit bbcb90a118a154d43964ea2804b8e1b94b0abbcb
Author: Marc-André Lureau <marcandre lureau redhat com>
Date: Thu Jun 30 12:16:50 2016 +0200
Fix build on non-win32
Fixes:
https://bugzilla.gnome.org/show_bug.cgi?id=768219
Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>
spice/spice-webdavd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/spice/spice-webdavd.c b/spice/spice-webdavd.c
index a78779a..f352cf3 100644
--- a/spice/spice-webdavd.c
+++ b/spice/spice-webdavd.c
@@ -1154,10 +1154,10 @@ main (int argc, char *argv[])
"incoming", G_CALLBACK (incoming_callback),
NULL);
+#ifdef G_OS_WIN32
service_data.drive_letter = 0;
g_mutex_init(&service_data.mutex);
-#ifdef G_OS_WIN32
SERVICE_TABLE_ENTRY service_table[] =
{
{ (char *)"spice-webdavd", service_main }, { NULL, NULL }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]