freebsd-ports/databases/db48/files/patch-dbinc_mutex_int.h
Matthias Andree eeaaf77bc5 Fix mutex code on powerpc64.
PR:		191453
Submitted by:	jhibbits@
2014-07-02 20:59:24 +00:00

11 lines
270 B
C

--- ../dbinc/mutex_int.h.orig 2010-04-12 13:25:22.000000000 -0700
+++ ../dbinc/mutex_int.h 2014-06-28 01:16:48.321255725 -0700
@@ -596,7 +596,7 @@
: "=&r" (__r), "+r" (tsl)
:
: "cr0", "memory");
- return (int)tsl;
+ return (tsl != 0);
}
static inline int