summaryrefslogtreecommitdiff
path: root/storage/innobase/include/buf0types.h
diff options
context:
space:
mode:
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 */