blob: 149a5f9ecb8f0cfe424589f71bbbd9a9252a9940 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ae,v 1.1.1.1 2005/05/04 08:56:49 agc Exp $
Index: common/nasd_threadstuff.c
===================================================================
RCS file: /usr/cvsroot/nasd/nasd-1.3/common/nasd_threadstuff.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- common/nasd_threadstuff.c 21 Mar 2005 08:52:02 -0000 1.1.1.1
+++ common/nasd_threadstuff.c 21 Mar 2005 17:07:18 -0000 1.2
@@ -39,7 +39,7 @@
NASD_SYS_DECLARE_MUTEX(nasd_threads_use_counter_lock)
int nasd_threads_use_counter;
-#if defined(LINUX) || defined(FREEBSD) || defined(SOLARIS) || defined(IRIX)
+#if defined(LINUX) || defined(FREEBSD) || defined(SOLARIS) || defined(IRIX) || defined(NETBSD)
#define NASD_ATOMIC_GLOBAL_MUTEX 1
NASD_SYS_DECLARE_MUTEX(nasd_atomic_global_mutex)
#endif /* LINUX || FREEBSD || SOLARIS || IRIX */
|