From: John Wolfe Date: Tue, 21 Dec 2021 20:48:50 +0000 (-0800) Subject: Change to a common header file not applicable to open-vm-tools. X-Git-Tag: stable-12.0.0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7776c845db0bc24c5103d80a8d8f76d73f79ec39;p=thirdparty%2Fopen-vm-tools.git Change to a 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 6d267331f..733aa9c46 100644 --- a/open-vm-tools/lib/include/vm_basic_defs.h +++ b/open-vm-tools/lib/include/vm_basic_defs.h @@ -606,6 +606,13 @@ typedef int pid_t; #define DEBUG_ONLY(...) #endif +#if defined(VMX86_DEBUG) || defined(VMX86_ENABLE_SPLOCK_STATS) +#define LOCK_STATS_ON +#define LOCK_STATS_ONLY(...) __VA_ARGS__ +#else +#define LOCK_STATS_ONLY(...) +#endif + #ifdef VMX86_STATS #define vmx86_stats 1 #define STATS_ONLY(x) x