[vlc-devel] commit: libvlccore: Fix a warning about b_daemon on Windows. (Pierre d' Herbemont )

git version control git at videolan.org
Wed Aug 13 00:54:36 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed Aug 13 00:05:57 2008 +0200| [65ae2bcd623236d506143761b3034f7d65854275] | committer: Pierre d'Herbemont 

libvlccore: Fix a warning about b_daemon on Windows.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=65ae2bcd623236d506143761b3034f7d65854275
---

 src/libvlc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 407dabe..1820a4b 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -103,7 +103,9 @@
 static libvlc_int_t *    p_static_vlc = NULL;
 static unsigned          i_instances = 0;
 
+#ifndef WIN32
 static bool b_daemon = false;
+#endif
 
 /*****************************************************************************
  * vlc_gc_*.




More information about the vlc-devel mailing list