From a4d1814c459a50b14d0e91408b659283039ad449 Mon Sep 17 00:00:00 2001 From: syntheticpp Date: Tue, 15 Nov 2005 11:08:57 +0000 Subject: [PATCH] also compile with the original gnu pthread.h git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@362 7ec92016-0320-0410-acc4-a06ded1c099a --- include/loki/Threads.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/loki/Threads.h b/include/loki/Threads.h index 62fee5e..cc8f886 100644 --- a/include/loki/Threads.h +++ b/include/loki/Threads.h @@ -245,7 +245,7 @@ namespace Loki #if defined(_PTHREAD_H) template - pthread_mutex_t ObjectLevelLockable::atomic_mutex_(PTHREAD_MUTEX_INITIALIZER); + pthread_mutex_t ObjectLevelLockable::atomic_mutex_ = PTHREAD_MUTEX_INITIALIZER; #endif //////////////////////////////////////////////////////////////////////////////// @@ -331,7 +331,7 @@ namespace Loki #if defined(_PTHREAD_H) template - pthread_mutex_t ClassLevelLockable::atomic_mutex_(PTHREAD_MUTEX_INITIALIZER); + pthread_mutex_t ClassLevelLockable::atomic_mutex_ = PTHREAD_MUTEX_INITIALIZER; #endif template @@ -354,6 +354,9 @@ namespace Loki #endif // $Log$ +// Revision 1.19 2005/11/15 11:08:57 syntheticpp +// also compile with the original gnu pthread.h +// // Revision 1.18 2005/11/03 12:43:35 syntheticpp // more doxygen documentation, modules added //