From eeaaf77bc5428dcfa4010d3039542e265f4e7db0 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 2 Jul 2014 20:59:24 +0000 Subject: Fix mutex code on powerpc64. PR: 191453 Submitted by: jhibbits@ --- databases/db48/files/patch-dbinc_mutex_int.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 databases/db48/files/patch-dbinc_mutex_int.h (limited to 'databases/db48/files') diff --git a/databases/db48/files/patch-dbinc_mutex_int.h b/databases/db48/files/patch-dbinc_mutex_int.h new file mode 100644 index 000000000000..9e6b5a2819fd --- /dev/null +++ b/databases/db48/files/patch-dbinc_mutex_int.h @@ -0,0 +1,11 @@ +--- ../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 -- cgit v1.2.3