summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorRobert Nagy <robert@openbsd.org>2010-11-04 11:31:32 +0100
committerRobert Nagy <robert@openbsd.org>2010-11-05 11:37:40 +0100
commitc5e3a70a857e520dc532143754f91bd12dfd7bea (patch)
treec8b632a642165da0b8e174b03c236f540441c066 /bridges
parent15dad6451c349ada9c59140d7eb7fd928dfd9c2d (diff)
use getpagesize() on OpenBSD
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/shared/vtablefactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/shared/vtablefactory.cxx b/bridges/source/cpp_uno/shared/vtablefactory.cxx
index b13c85248ed2..02247de10bf3 100644
--- a/bridges/source/cpp_uno/shared/vtablefactory.cxx
+++ b/bridges/source/cpp_uno/shared/vtablefactory.cxx
@@ -82,7 +82,7 @@ namespace {
extern "C" void * SAL_CALL allocExec(rtl_arena_type *, sal_Size * size) {
sal_Size pagesize;
#if defined SAL_UNX
-#if defined FREEBSD || defined NETBSD
+#if defined FREEBSD || defined NETBSD || defined OPENBSD
pagesize = getpagesize();
#else
pagesize = sysconf(_SC_PAGESIZE);