summaryrefslogtreecommitdiff
path: root/storage/innobase/include/buf0types.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-05-06 09:57:39 +0200
committerSergei Golubchik <sergii@pisem.net>2014-05-06 09:57:39 +0200
commite2e5d07b2807706fb9187f00c049474a01ab15da (patch)
tree811b3c4d12a5a75af76fc88d793c3cdb17bf4414 /storage/innobase/include/buf0types.h
parent3792693f311a90cf195ec6d2f9b3762255a249c7 (diff)
parent83759e02dc12c8fb2576e240f307bc789e9c59cd (diff)
downloadmariadb-git-e2e5d07b2807706fb9187f00c049474a01ab15da.tar.gz
MDEV-6184 10.0.11 merge
InnoDB 5.6.16
Diffstat (limited to 'storage/innobase/include/buf0types.h')
-rw-r--r--storage/innobase/include/buf0types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/innobase/include/buf0types.h b/storage/innobase/include/buf0types.h
index 307ef18f0c2..11bbc9b5c8a 100644
--- a/storage/innobase/include/buf0types.h
+++ b/storage/innobase/include/buf0types.h
@@ -26,6 +26,10 @@ Created 11/17/1995 Heikki Tuuri
#ifndef buf0types_h
#define buf0types_h
+#if defined(INNODB_PAGE_ATOMIC_REF_COUNT) && defined(HAVE_ATOMIC_BUILTINS)
+#define PAGE_ATOMIC_REF_COUNT
+#endif /* INNODB_PAGE_ATOMIC_REF_COUNT && HAVE_ATOMIC_BUILTINS */
+
/** Buffer page (uncompressed or compressed) */
struct buf_page_t;
/** Buffer block for which an uncompressed page exists */