]> git.sesse.net Git - vlc/commitdiff
no vlc_spin_destroy in GC for Win32
authorGeoffroy Couprie <geo.couprie@gmail.com>
Mon, 22 Sep 2008 10:50:45 +0000 (12:50 +0200)
committerGeoffroy Couprie <geo.couprie@gmail.com>
Mon, 22 Sep 2008 10:50:45 +0000 (12:50 +0200)
src/libvlc.c

index 99ccf71d4d5efd98e5a2b0751beff645b98516a6..2f2390de6f9df5a1c55ec48504192f2711c9eaac 100644 (file)
@@ -120,7 +120,7 @@ static bool b_daemon = false;
  */
 void *vlc_gc_init (gc_object_t *p_gc, void (*pf_destruct) (gc_object_t *))
 {
-    /* There is no point in using the GC if there is destructor... */
+    /* There is no point in using the GC if there is no destructor... */
     assert (pf_destruct);
     p_gc->pf_destructor = pf_destruct;
 
@@ -194,6 +194,7 @@ void vlc_release (gc_object_t *p_gc)
     if (refs == 0)
     {
 #ifdef USE_SYNC
+#elif defined (WIN32) && defined (__GNUC__)
 #elif defined(__APPLE__)
 #else
         vlc_spin_destroy (&p_gc->spin);