]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools
authorOliver Kurth <okurth@vmware.com>
Tue, 4 Sep 2018 22:40:58 +0000 (15:40 -0700)
committerOliver Kurth <okurth@vmware.com>
Tue, 4 Sep 2018 22:40:58 +0000 (15:40 -0700)
open-vm-tools/lib/include/vm_basic_asm_x86_common.h

index e6ac75357dc9ac62f53b36214dabb9647f05e0bb..f6fdbb33959f94b8f7f5e3389bddc077c7e13e7d 100644 (file)
@@ -410,6 +410,11 @@ SMP_W_BARRIER_R(void)
       : /* no additional inputs */
       : "cc", "memory");
 #elif defined _MSC_VER
+   /*
+    * Ignore warning about _InterlockedXor operation on a local variable; we are
+    * using the operation for its side-effects only.
+    */
+   #pragma warning(suppress:28113)
    _InterlockedXor(&temp, 1);
 #else
 #error SMP_W_BARRIER_R not defined for this compiler