From: John Wolfe Date: Thu, 20 Jan 2022 19:40:15 +0000 (-0800) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-12.1.0~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2de0491601d6c14e5aa4b64467cced413ff28e6;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_basic_defs.h b/open-vm-tools/lib/include/vm_basic_defs.h index 36764c6b6..fd6567fd8 100644 --- a/open-vm-tools/lib/include/vm_basic_defs.h +++ b/open-vm-tools/lib/include/vm_basic_defs.h @@ -686,6 +686,13 @@ typedef int pid_t; #define VMKERNEL_ONLY(x) #endif +/* + * In MSVC, _WIN32 is defined as 1 when the compilation target is + * 32-bit ARM, 64-bit ARM, x86, or x64 (which implies _WIN64). This + * is documented in C/C++ preprocessor section of the Microsoft C++, + * C, and Assembler documentation (https://via.vmw.com/EchK). + */ + #ifdef _WIN32 #define WIN32_ONLY(x) x #define POSIX_ONLY(x)