Date: Mon, 12 Sep 2016 01:37:19 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421892 - head/emulators/open-vm-tools/files Message-ID: <201609120137.u8C1bJUC076344@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Mon Sep 12 01:37:19 2016 New Revision: 421892 URL: https://svnweb.freebsd.org/changeset/ports/421892 Log: emulators/open-vm-tools: Fix build with clang 3.9.0 PR: 212426 Submitted by: dim Added: head/emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h (contents, props changed) Added: head/emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h Mon Sep 12 01:37:19 2016 (r421892) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609120137.u8C1bJUC076344>