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.
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
 
 /*

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
vbox-dev mailing list
vbox-dev@virtualbox.org
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to