Simplify SharedArray.
This commit is contained in:
parent
7724336d73
commit
80ae938ddf
2 changed files with 2 additions and 8 deletions
|
|
@ -25,7 +25,7 @@ when defined(macosx) or defined(freebsd):
|
|||
proc sysctl(name: ptr cint, namelen: cuint, oldp: pointer, oldplen: ptr int,
|
||||
newp: pointer, newplen: int): cint
|
||||
{.importc: "sysctl",header: """#include <sys/types.h>
|
||||
#include <sys/sysctl.h>"""}
|
||||
#include <sys/sysctl.h>"""}
|
||||
elif defined(netbsd) or defined(openbsd):
|
||||
# OpenBSD and NetBSD don't have KERN_MAXFILESPERPROC, so we are using
|
||||
# KERN_MAXFILES, because KERN_MAXFILES is always bigger,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue