summaryrefslogtreecommitdiff
path: root/bridges/inc
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2010-11-06 00:13:51 +0100
committerThomas Klausner <wiz@NetBSD.org>2010-11-06 00:15:04 +0100
commit551898cdd21f323df0222a96ff4dde3ecf38da2d (patch)
tree83673acaa9bb816f2b21508dbf21856f44feaafb /bridges/inc
parent65a30b5a454bd61c603545cdcbd74b8e96709044 (diff)
Use linux bridge code on all BSDs.
Share the linux bridge code with all the BSDs to avoid code duplication and the hassle of syncing. Discussed with Caolan McNamara
Diffstat (limited to 'bridges/inc')
-rw-r--r--bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx
index be5894a0b4b5..247b12aafb25 100644
--- a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx
+++ b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx
@@ -38,7 +38,8 @@
#include <hash_map>
/*See: http://people.redhat.com/drepper/selinux-mem.html*/
-#ifdef LINUX
+#if defined(LINUX) || defined(OPENBSD) || defined(FREEBSD) \
+ || defined(NETBSD)
#define USE_DOUBLE_MMAP
#endif