utsname.h to iOS as well.

This commit is contained in:
Nikolay Igotti
2017-10-11 10:19:17 +03:00
parent 2343eafd5e
commit de2cfce12f
+1 -3
View File
@@ -11,14 +11,12 @@ headers = alloca.h assert.h complex.h dirent.h dlfcn.h err.h errno.h fcntl.h \
netinet/ip.h netinet/ip6.h netinet/ip_icmp.h netinet/tcp.h netinet/udp.h \
sys/acl.h sys/ioctl.h sys/ipc.h sys/mman.h sys/poll.h \
sys/queue.h sys/select.h sys/shm.h sys/stat.h \
sys/syslimits.h sys/time.h sys/times.h sys/wait.h
sys/syslimits.h sys/time.h sys/times.h sys/utsname.h sys/wait.h
compilerOpts = -D_XOPEN_SOURCE
linkerOpts = -ldl
---
// cinterop -def klib/src/platform/osx/posix.def -o platform.posix.klib
// Wrapper to access errno variable.
static int posix_errno() {
return errno;