diff options
Diffstat (limited to 'chat/lmme/patches/patch-aa')
-rw-r--r-- | chat/lmme/patches/patch-aa | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chat/lmme/patches/patch-aa b/chat/lmme/patches/patch-aa new file mode 100644 index 00000000000..283542b98ce --- /dev/null +++ b/chat/lmme/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 10:20:04 uebayasi Exp $ + +--- src/threadTemplate.h.orig Sun Dec 30 20:45:43 2001 ++++ src/threadTemplate.h +@@ -24,10 +24,14 @@ + + #include "headerManager.h" + ++#ifdef _POSIX_THREAD_IS_GNU_PTH ++#define initCond(PCond) PCond = PTHREAD_COND_INITIALIZER; ++#else + #define initCond(PCond) \ + PCond.__c_lock.__status = 0; \ + PCond.__c_lock.__spinlock = 0; \ + PCond.__c_waiting = 0; ++#endif + + + class Thread_Class |