Commit 9f0ed6c6 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-13009 10.1.24 does not compile on architectures without 64-bit atomics

Add a missing #include "sync0types.h" that was removed in MDEV-12674.
parent 3976ec1e
......@@ -644,6 +644,7 @@ Use MONITOR_DEC if appropriate mutex protection exists.
# define srv_mon_create() ((void) 0)
# define srv_mon_free() ((void) 0)
#else /* HAVE_ATOMIC_BUILTINS_64 */
# include "sync0types.h"
/** Mutex protecting atomic operations on platforms that lack
built-in operations for atomic memory access */
extern ib_mutex_t monitor_mutex;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment