Commit 6d914307 authored by Geoffroy Couprie's avatar Geoffroy Couprie

no vlc_spin_destroy in GC for Win32

parent 86929a52
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment