From: Katy Feng Date: Thu, 16 Nov 2023 17:21:20 +0000 (-0800) Subject: Change to common header file not applicable to open-vm-tools. X-Git-Tag: stable-12.4.0~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f03cddae70d27fe10b2833d53995f1dd3985f37;p=thirdparty%2Fopen-vm-tools.git Change to common header file 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 480531e4d..c138856fb 100644 --- a/open-vm-tools/lib/include/vm_basic_defs.h +++ b/open-vm-tools/lib/include/vm_basic_defs.h @@ -590,6 +590,12 @@ typedef int pid_t; * Convenience macros and definitions. Can often be used instead of #ifdef. */ +#ifdef VMK_HAS_VMM +#define VMK_HAS_VMM_ONLY(...) __VA_ARGS__ +#else +#define VMK_HAS_VMM_ONLY(...) +#endif + #undef ARM64_ONLY #ifdef VM_ARM_64 #define ARM64_ONLY(...) __VA_ARGS__