[vlc-devel] commit: no vlc_spin_destroy in GC for Win32 (Geoffroy Couprie )
git version control
git at videolan.org
Mon Sep 22 12:47:28 CEST 2008
vlc | branch: master | Geoffroy Couprie <geo.couprie at gmail.com> | Mon Sep 22 12:50:45 2008 +0200| [6d914307e532cb7fa4efd37dfaa87cb9b4292064] | committer: Geoffroy Couprie
no vlc_spin_destroy in GC for Win32
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d914307e532cb7fa4efd37dfaa87cb9b4292064
---
src/libvlc.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index 99ccf71..2f2390d 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -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);
More information about the vlc-devel
mailing list