From edcac1ee419116327aee73435f7442f2201752e6 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Fri, 7 Oct 2011 09:51:04 -0700 Subject: [PATCH] Bug 661129: Duplicate symbols zero_thread and g_once_mutex on OSX --- glib/gthreadprivate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glib/gthreadprivate.h b/glib/gthreadprivate.h index 8cc287f18..49eea35c1 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);