diff options
author | Steve Wills <swills@FreeBSD.org> | 2016-09-12 01:37:19 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2016-09-12 01:37:19 +0000 |
commit | 62a1fbb41a06032f0028dcd814ba22648b082daf (patch) | |
tree | c3162089aee56afd44d45c1737bc16af2fe61046 /emulators/open-vm-tools | |
parent | 47171dba8f0b8c107f138ca6c850ed4b86c9c8aa (diff) | |
download | ports-62a1fbb41a06032f0028dcd814ba22648b082daf.tar.gz ports-62a1fbb41a06032f0028dcd814ba22648b082daf.zip |
Notes
Diffstat (limited to 'emulators/open-vm-tools')
-rw-r--r-- | emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h | 15 |
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 |