Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/atomic.d
4 changes: 2 additions & 2 deletions src/core/atomic.d
Original file line number Diff line number Diff line change
Expand Up @@ -1335,11 +1335,11 @@ version( unittest )

version (D_LP64)
{
static if (has128BitCAS) enum hasDWCAS = true;
enum hasDWCAS = has128BitCAS;
}
else
{
static if (has64BitCAS) enum hasDWCAS = true;
enum hasDWCAS = has64BitCAS;
}

static if (hasDWCAS)
Expand Down