blob: ea4c82846e0dc1ac289b53ab7fc1e3a954bef142 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ac,v 1.2 2011/12/05 10:18:17 wiz Exp $
--- db/mut_pthread.c.orig 2009-05-28 12:54:31 +0300
+++ db/mut_pthread.c 2009-05-28 12:55:30 +0300
@@ -201,7 +201,11 @@ CDB___db_pthread_mutex_lock(mutexp)
* call, and Solaris delivers the signal to the wrong
* LWP.
*/
- if (ret != 0 && ret != ETIME && ret != ETIMEDOUT)
+ if (ret != 0 &&
+#ifdef ETIME
+ ret != ETIME &&
+#endif
+ ret != ETIMEDOUT)
return (ret);
}
|