ported Nim to proprietary CrossOS [backport] (#18889)
This commit is contained in:
parent
561b01004c
commit
5d315ebcc2
6 changed files with 18 additions and 4 deletions
|
|
@ -3007,7 +3007,7 @@ when not weirdTarget and (defined(freebsd) or defined(dragonfly) or defined(netb
|
|||
proc sysctl(name: ptr cint, namelen: cuint, oldp: pointer, oldplen: ptr csize_t,
|
||||
newp: pointer, newplen: csize_t): cint
|
||||
{.importc: "sysctl",header: """#include <sys/types.h>
|
||||
#include <sys/sysctl.h>"""}
|
||||
#include <sys/sysctl.h>""".}
|
||||
const
|
||||
CTL_KERN = 1
|
||||
KERN_PROC = 14
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue