]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Change to shared header file unrelated to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:27 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:27 +0000 (11:23 -0700)
open-vm-tools/lib/include/vm_atomic.h

index e18bf1a71cf3dabc64f9d106f1822c50eadda951..1fc3b07643d4d473845794e2e2721c2b34c41337 100644 (file)
@@ -247,7 +247,7 @@ typedef struct  Atomic_uint64 {
 } Atomic_uint64 ALIGNED(8);
 
 #if defined(__GNUC__) && defined(VM_64BIT) && \
-     (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 || defined(VM_ARM_64))
+     (defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16) || defined(VM_ARM_64))
 typedef struct Atomic_uint128 {
    volatile __int128 value;
 } Atomic_uint128 ALIGNED(16);
@@ -482,7 +482,7 @@ CMPXCHG1B(volatile uint8 *ptr, // IN/OUT
  *-----------------------------------------------------------------------------
  */
 #if defined(__GNUC__) && defined(VM_64BIT) && \
-     (__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 || defined(VM_ARM_64))
+     (defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_16) || defined(VM_ARM_64))
 static INLINE __int128
 Atomic_ReadIfEqualWrite128(Atomic_uint128 *ptr,   // IN/OUT
                            __int128       oldVal, // IN