[glib] Bug 661129: Duplicate symbols zero_thread and g_once_mutex on OSX



commit edcac1ee419116327aee73435f7442f2201752e6
Author: John Ralls <jralls ceridwen us>
Date:   Fri Oct 7 09:51:04 2011 -0700

    Bug 661129: Duplicate symbols zero_thread and g_once_mutex on OSX

 glib/gthreadprivate.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gthreadprivate.h b/glib/gthreadprivate.h
index 8cc287f..49eea35 100644
--- a/glib/gthreadprivate.h
+++ b/glib/gthreadprivate.h
@@ -72,8 +72,8 @@ struct  _GRealThread
   GSystemThread system_thread;
 };
 
-G_GNUC_INTERNAL GSystemThread zero_thread;
-G_GNUC_INTERNAL GMutex g_once_mutex;
+G_GNUC_INTERNAL extern GSystemThread zero_thread;
+G_GNUC_INTERNAL extern GMutex g_once_mutex;
 
 G_GNUC_INTERNAL void g_static_private_cleanup   (GRealThread *thread);
 G_GNUC_INTERNAL void g_enumerable_thread_add    (GRealThread *thread);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]