aboutsummaryrefslogtreecommitdiff
path: root/emulators/open-vm-tools
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/open-vm-tools')
-rw-r--r--emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h b/emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h
new file mode 100644
index 000000000000..42e730c2fee7
--- /dev/null
+++ b/emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h
@@ -0,0 +1,15 @@
+--- lib/include/vm_basic_defs.h.orig 2013-09-23 15:51:10 UTC
++++ lib/include/vm_basic_defs.h
+@@ -81,7 +81,11 @@
+ #include "vm_basic_types.h" // For INLINE.
+
+ /* Checks for FreeBSD, filtering out VMKERNEL. */
+-#define __IS_FREEBSD__ (!defined(VMKERNEL) && defined(__FreeBSD__))
++#if !defined(VMKERNEL) && defined(__FreeBSD__)
++#define __IS_FREEBSD__ 1
++#else
++#define __IS_FREEBSD__ 0
++#endif
+ #define __IS_FREEBSD_VER__(ver) (__IS_FREEBSD__ && __FreeBSD_version >= (ver))
+
+ #if defined _WIN32 && defined USERLEVEL