These patches disables code that cannot be compiled or run on iOS by adding
feature/header detection at configure time.
Only the first patch still needs to be reviewed, thanks!
v3:
* Add braces in if statement in third patch
v2:
* Broken merge where config_host['CONFIG_SMBD_COMMAND'] was duplicated.
Joelle van Dyne (4):
block: feature detection for host block support
block: check for sys/disk.h
block: detect DKIOCGETBLOCKCOUNT/SIZE before use
slirp: feature detection for smbd
configure | 26 ++++++++++++++++++---
meson.build | 9 ++++++--
qapi/block-core.json | 10 +++++---
block.c | 2 +-
block/file-posix.c | 54 +++++++++++++++++++++++++-------------------
net/slirp.c | 16 ++++++-------
6 files changed, 77 insertions(+), 40 deletions(-)
--
2.28.0