FreeBSD Bugzilla – Attachment 174432 Details for
Bug 212426
emulators/open-vm-tools emulators/open-vm-tools-nox11: Fix build with clang 3.9.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Make definition of __IS_FREEBSD__ more portable
emulators__open-vm-tools-fix-clang390-build-1.diff (text/plain), 1.21 KB, created by
Dimitry Andric
on 2016-09-06 18:49:55 UTC
(
hide
)
Description:
Make definition of __IS_FREEBSD__ more portable
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2016-09-06 18:49:55 UTC
Size:
1.21 KB
patch
obsolete
>Index: emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h >=================================================================== >--- emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h (nonexistent) >+++ emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h (working copy) >@@ -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 > >Property changes on: emulators/open-vm-tools/files/patch-lib_include_vm__basic__defs.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212426
: 174432