mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
MDEV-27667 Fix MDEV-26720 on 64-bit Microsoft Windows
The correct macro to detect the AMD64 ISA is _M_X64, not M_IX64.
This is the 10.6 version of
commit fb8fea3490 (10.5).
This commit is contained in:
parent
f0f5ce58c7
commit
c478a5533e
5 changed files with 9 additions and 9 deletions
|
|
@ -224,7 +224,7 @@ public:
|
|||
void wr_lock()
|
||||
{
|
||||
writer.wr_lock();
|
||||
#if defined __i386__||defined __x86_64__||defined _M_IX86||defined _M_IX64
|
||||
#if defined __i386__||defined __x86_64__||defined _M_IX86||defined _M_X64
|
||||
/* On IA-32 and AMD64, this type of fetch_or() can only be implemented
|
||||
as a loop around LOCK CMPXCHG. In this particular case, setting the
|
||||
most significant bit using fetch_add() is equivalent, and is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue