Commit 37a074f6 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-26467 fixup: Fix cmake -DWITH_UNIT_TESTS=ON for SUX_LOCK_GENERIC

parent b740b235
...@@ -223,6 +223,14 @@ template void ssux_lock_impl<false>::destroy(); ...@@ -223,6 +223,14 @@ template void ssux_lock_impl<false>::destroy();
template void ssux_lock_impl<false>::rd_unlock(); template void ssux_lock_impl<false>::rd_unlock();
template void ssux_lock_impl<false>::u_unlock(); template void ssux_lock_impl<false>::u_unlock();
template void ssux_lock_impl<false>::wr_unlock(); template void ssux_lock_impl<false>::wr_unlock();
template void ssux_lock_impl<true>::init();
template void ssux_lock_impl<true>::destroy();
template void ssux_lock_impl<true>::read_lock(uint32_t);
template void ssux_lock_impl<true>::rd_unlock();
template void ssux_lock_impl<true>::u_unlock();
template void ssux_lock_impl<true>::wr_unlock();
template void ssux_lock_impl<true>::write_lock(bool);
template void ssux_lock_impl<true>::update_lock(uint32_t);
#else /* SUX_LOCK_GENERIC */ #else /* SUX_LOCK_GENERIC */
static_assert(4 == sizeof(rw_lock), "ABI"); static_assert(4 == sizeof(rw_lock), "ABI");
# ifdef _WIN32 # ifdef _WIN32
......
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