View | Details | Raw Unified | Return to bug 212426
Collapse All | Expand All

(-)emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h (+15 lines)
Line 0 Link Here
1
--- lib/include/vm_basic_defs.h.orig	2013-09-23 15:51:10 UTC
2
+++ lib/include/vm_basic_defs.h
3
@@ -81,7 +81,11 @@
4
 #include "vm_basic_types.h" // For INLINE.
5
 
6
 /* Checks for FreeBSD, filtering out VMKERNEL. */
7
-#define __IS_FREEBSD__ (!defined(VMKERNEL) && defined(__FreeBSD__))
8
+#if !defined(VMKERNEL) && defined(__FreeBSD__)
9
+#define __IS_FREEBSD__ 1
10
+#else
11
+#define __IS_FREEBSD__ 0
12
+#endif
13
 #define __IS_FREEBSD_VER__(ver) (__IS_FREEBSD__ && __FreeBSD_version >= (ver))
14
 
15
 #if defined _WIN32 && defined USERLEVEL

Return to bug 212426