From baa55ba239172c444da62889c7e27ca37c550d0c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 14 Jan 2015 21:55:31 +0100 Subject: [PATCH] Fix Tilera compilation Use proper initializer for a static mutex declaration. Credits: Ken Steele --- src/tm-threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tm-threads.c b/src/tm-threads.c index 0246ec681b..1bce7526c9 100644 --- a/src/tm-threads.c +++ b/src/tm-threads.c @@ -2113,7 +2113,7 @@ typedef struct Threads_ { } Threads; static Threads thread_store = { NULL, 0, 0 }; -static SCMutex thread_store_lock = PTHREAD_MUTEX_INITIALIZER; +static SCMutex thread_store_lock = SCMUTEX_INITIALIZER; void TmThreadsListThreads(void) {