Remove unneeded HAVE_UNSHARE.

* src/libstore/build.cc (CHROOT_ENABLED): Remove HAVE_UNSHARE.
This commit is contained in:
Manolis Ragkousis 2015-08-19 14:11:15 +03:00
parent 984c5cdc50
commit 26221e44eb

View file

@ -54,7 +54,7 @@
#include <linux/fs.h>
#endif
#define CHROOT_ENABLED HAVE_CHROOT && HAVE_UNSHARE && HAVE_SYS_MOUNT_H && defined(MS_BIND) && defined(MS_PRIVATE) && defined(CLONE_NEWNS) && defined(SYS_pivot_root)
#define CHROOT_ENABLED HAVE_CHROOT && HAVE_SYS_MOUNT_H && defined(MS_BIND) && defined(MS_PRIVATE) && defined(CLONE_NEWNS) && defined(SYS_pivot_root)
/* chroot-like behavior from Apple's sandbox */
#if __APPLE__