summaryrefslogtreecommitdiff
path: root/include/atomic
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-12-18 11:15:21 +0100
committerMikael Ronstrom <mikael@mysql.com>2009-12-18 11:15:21 +0100
commit45e62fba06e2ac9684c3d1990204383f84aba011 (patch)
tree3b02a32757841354c4b5cbc9212db61967692059 /include/atomic
parent3ad70924c90bdacec58dd27abe68daaa678c0322 (diff)
downloadmariadb-git-45e62fba06e2ac9684c3d1990204383f84aba011.tar.gz
Fixed Solaris Atomics build issues
Diffstat (limited to 'include/atomic')
-rw-r--r--include/atomic/nolock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/atomic/nolock.h b/include/atomic/nolock.h
index e4cd9ab9896..b2eaea34095 100644
--- a/include/atomic/nolock.h
+++ b/include/atomic/nolock.h
@@ -17,7 +17,8 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if defined(__i386__) || defined(_MSC_VER) || defined(__x86_64__) \
- || defined(HAVE_GCC_ATOMIC_BUILTINS)
+ || defined(HAVE_GCC_ATOMIC_BUILTINS) \
+ || defined(HAVE_SOLARIS_ATOMIC)
# ifdef MY_ATOMIC_MODE_DUMMY
# define LOCK_prefix ""