Matthew DeVore has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/518717 ) Change subject: Start defining Darwin build based on FreeBSD ...................................................................... Start defining Darwin build based on FreeBSD Some of the FreeBSD build logic as well as OS-specific source and headers can be used on macOS. So move those files to a generic BSD category, and define a BSDBASED build type and use that where it makes sense. I may have missed some places where it makes sense to use "#if BSDBASED" rather than "#if FREEBSD", but these are the obvious ones that are necessary for my macOS build to function. The subr.c and mntent compatibility code are not completely macOS-compatible yet. I will adjust them later. Signed-off-by: Matthew DeVore <matvore@google.com> Change-Id: Idec2f7ac960016c15774490981d2ea21dd2b62dd --- M src/CMakeLists.txt M src/FSAL/commonlib.c M src/FSAL/fsal_convert.c M src/FSAL/fsal_manager.c M src/cmake/modules/FindEPOLL.cmake M src/include/config-h.in.cmake R src/include/os/bsd/mntent.h M src/include/os/mntent.h M src/os/CMakeLists.txt R src/os/bsd/mntent_compat.c R src/os/bsd/subr.c 11 files changed, 44 insertions(+), 16 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/17/518717/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/518717 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Idec2f7ac960016c15774490981d2ea21dd2b62dd Gerrit-Change-Number: 518717 Gerrit-PatchSet: 1 Gerrit-Owner: Matthew DeVore <matvore@comcast.net> Gerrit-MessageType: newchange