1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fixed atomic instruction headers for Windows and x86-gcc

This commit is contained in:
Mikael Ronstrom
2009-12-15 15:40:08 +01:00
parent 5a31a8f619
commit f06d24c18e
2 changed files with 34 additions and 4 deletions

View File

@@ -22,6 +22,12 @@
architectures support double-word (128-bit) cas.
*/
/*
No special support of 8 and 16 bit operations are implemented here
currently.
*/
#undef MY_ATOMIC_HAS_8_AND_16
#ifdef __x86_64__
# ifdef MY_ATOMIC_NO_XADD
# define MY_ATOMIC_MODE "gcc-amd64" LOCK_prefix "-no-xadd"