ported Nim to proprietary CrossOS [backport] (#18889)

This commit is contained in:
Andreas Rumpf 2021-09-24 13:24:41 +02:00 • committed by GitHub
commit 5d315ebcc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 18 additions and 4 deletions

View file

@ -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