summaryrefslogtreecommitdiff
path: root/databases/mariadb106-client/patches/patch-storage_innobase_include_transactional__lock__guard.h
blob: b147da6162b7b0e351cd632f7c51dd0ad76cc222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-storage_innobase_include_transactional__lock__guard.h,v 1.1.2.2 2021/12/14 08:59:19 tm Exp $

Strange build failures on NetBSD:
error: 'rw_lock' is not an accessible base of 'page_hash_latch'

--- storage/innobase/include/transactional_lock_guard.h.orig	2021-11-05 20:03:31.000000000 +0000
+++ storage/innobase/include/transactional_lock_guard.h
@@ -21,12 +21,6 @@ this program; if not, write to the Free 
 #if defined __powerpc64__ && defined __clang__ && defined __linux__
 #elif defined __powerpc64__&&defined __GNUC__&&defined __linux__&&__GNUC__ > 4
 #elif defined _MSC_VER && (defined _M_IX86 || defined _M_X64)
-#elif defined __GNUC__ && (defined __i386__ || defined __x86_64__)
-# if __GNUC__ >= 8
-# elif defined __clang_major__ && __clang_major__ > 6
-# else
-#  define NO_ELISION
-# endif
 #else /* Transactional memory has not been implemented for this ISA */
 # define NO_ELISION
 #endif