mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
fix atomic/solaris.h to conform
remove duplicated boilerplate code
This commit is contained in:
@@ -50,11 +50,7 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(make_atomic_cas_body) || defined(MY_ATOMICS_MADE)
|
||||
/*
|
||||
* We have atomics that require no locking
|
||||
*/
|
||||
#define MY_ATOMIC_NOLOCK
|
||||
#if defined(make_atomic_cas_body)
|
||||
/*
|
||||
Type not used so minimal size (emptry struct has different size between C
|
||||
and C++, zero-length array is gcc-specific).
|
||||
|
Reference in New Issue
Block a user