1
0
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:
Sergei Golubchik
2009-12-23 09:27:41 +01:00
parent d14aefa6c9
commit 18d082109c
3 changed files with 31 additions and 225 deletions

View File

@@ -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).