[vbox-dev] NetBSD patch 0020: Disable system-specific PVM symbol from NetBSD

Kamil Rytarowski n54 at gmx.com
Sat Aug 13 15:42:40 GMT 2016


Disable system-specific PVM symbol from NetBSD

PVM is an internal symbol on NetBSD and it conflicts with PVM from VBox.
The NetBSD one needs to be undefined in order make VBox build properly.

This patch is MIT-licensed.
-------------- next part --------------
Disable system-specific PVM symbol from NetBSD

PVM is an internal symbol on NetBSD and it conflicts with PVM from VBox.
The NetBSD one needs to be undefined in order make VBox build properly.

This patch is MIT-licensed.

Index: src/recompiler/fpu/softfloat-native.h
===================================================================
--- src/recompiler/fpu/softfloat-native.h	(wersja 63343)
+++ src/recompiler/fpu/softfloat-native.h	(kopia robocza)
@@ -12,6 +12,9 @@
 
 #if defined(__OpenBSD__) || defined(__NetBSD__)
 #include <sys/param.h>
+# ifdef PVM
+#  undef PVM
+# endif
 #endif
 
 /*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20160813/c4164602/attachment.sig>


More information about the vbox-dev mailing list