diff options
| author | Russ Cox <rsc@swtch.com> | 2011-10-12 13:40:35 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2011-10-12 13:40:35 -0400 |
| commit | d0a596c5c8669950a2499d3012c340cfbf0eeed5 (patch) | |
| tree | e2bbf3125aa9f667487589175301029486d5adb9 /src/cmd/devdraw/cocoa-thread.c | |
| parent | 210d461c87a6c5f598ef958b303a7f24d4e4a93b (diff) | |
| download | plan9port-d0a596c5c8669950a2499d3012c340cfbf0eeed5.tar.gz plan9port-d0a596c5c8669950a2499d3012c340cfbf0eeed5.zip | |
devdraw: more fixes (thanks David Jeannot)
Diffstat (limited to 'src/cmd/devdraw/cocoa-thread.c')
| -rw-r--r-- | src/cmd/devdraw/cocoa-thread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/devdraw/cocoa-thread.c b/src/cmd/devdraw/cocoa-thread.c index a69d0828..c9b280f7 100644 --- a/src/cmd/devdraw/cocoa-thread.c +++ b/src/cmd/devdraw/cocoa-thread.c @@ -2,6 +2,8 @@ #include <libc.h> #include "cocoa-thread.h" +#ifndef TRY_LIBTHREAD + static pthread_mutex_t initlock = PTHREAD_MUTEX_INITIALIZER; void @@ -23,3 +25,4 @@ qunlock(QLock *q) { pthread_mutex_unlock(&q->m); } +#endif |
