Kaydet (Commit) d6d9f923 authored tarafından Robert Nagy's avatar Robert Nagy

use getpagesize() on OpenBSD

üst 8c7424b3
...@@ -82,7 +82,7 @@ namespace { ...@@ -82,7 +82,7 @@ namespace {
extern "C" void * SAL_CALL allocExec(rtl_arena_type *, sal_Size * size) { extern "C" void * SAL_CALL allocExec(rtl_arena_type *, sal_Size * size) {
sal_Size pagesize; sal_Size pagesize;
#if defined SAL_UNX #if defined SAL_UNX
#if defined FREEBSD || defined NETBSD #if defined FREEBSD || defined NETBSD || defined OPENBSD
pagesize = getpagesize(); pagesize = getpagesize();
#else #else
pagesize = sysconf(_SC_PAGESIZE); pagesize = sysconf(_SC_PAGESIZE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment