utsname.h to iOS as well.
This commit is contained in:
@@ -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 \
|
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/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/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
|
compilerOpts = -D_XOPEN_SOURCE
|
||||||
linkerOpts = -ldl
|
linkerOpts = -ldl
|
||||||
|
|
||||||
---
|
---
|
||||||
// cinterop -def klib/src/platform/osx/posix.def -o platform.posix.klib
|
|
||||||
|
|
||||||
// Wrapper to access errno variable.
|
// Wrapper to access errno variable.
|
||||||
static int posix_errno() {
|
static int posix_errno() {
|
||||||
return errno;
|
return errno;
|
||||||
|
|||||||
Reference in New Issue
Block a user