libphobos: Merge common version blocks using arch_any conditions
authorIain Buclaw <ibuclaw@gcc.gnu.org>
Wed, 28 Nov 2018 21:53:06 +0000 (21:53 +0000)
committerIain Buclaw <ibuclaw@gcc.gnu.org>
Wed, 28 Nov 2018 21:53:06 +0000 (21:53 +0000)
commit15684250225252a6ef74a7c3779294ca5aa0c16c
tree171c1c3b1d1257f8067aa093d808595687e238c5
parent3b9a9fe89faac023d85c9d3533c6e371197e204a
libphobos: Merge common version blocks using arch_any conditions

This sets a precedence in upstream for merging architecture agnostic
C bindings into one block, rather than separate duplicated blocks.

A nice side-effect is it almost completes the C bindings for
s390-linux-gnu and sparc-linux-gnu, and fixes a bug on MIPS32 where
O_SYNC had the wrong value.

Backported from upstream druntime master.

Reviewed-on: https://github.com/dlang/druntime/pull/2357

From-SVN: r266593
15 files changed:
libphobos/libdruntime/core/stdc/errno.d
libphobos/libdruntime/core/stdc/fenv.d
libphobos/libdruntime/core/stdc/math.d
libphobos/libdruntime/core/sys/linux/dlfcn.d
libphobos/libdruntime/core/sys/linux/epoll.d
libphobos/libdruntime/core/sys/linux/link.d
libphobos/libdruntime/core/sys/linux/sys/auxv.d
libphobos/libdruntime/core/sys/linux/sys/eventfd.d
libphobos/libdruntime/core/sys/linux/sys/inotify.d
libphobos/libdruntime/core/sys/linux/sys/mman.d
libphobos/libdruntime/core/sys/posix/dlfcn.d
libphobos/libdruntime/core/sys/posix/fcntl.d
libphobos/libdruntime/core/sys/posix/signal.d
libphobos/libdruntime/core/sys/posix/sys/mman.d
libphobos/libdruntime/core/sys/posix/sys/socket.d