diff --git a/module/zcommon/zfs_prop.c b/module/zcommon/zfs_prop.c index 7c71fefecea6..a73cc1df4080 100644 --- a/module/zcommon/zfs_prop.c +++ b/module/zcommon/zfs_prop.c @@ -398,7 +398,7 @@ zfs_prop_init(void) struct zfs_mod_supported_features *sfeatures = zfs_mod_list_supported(ZFS_SYSFS_DATASET_PROPERTIES); - /* __APPLE__ */ +#ifdef __APPLE__ static zprop_index_t devdisk_table[] = { { "poolonly", ZFS_DEVDISK_POOLONLY }, { "off", ZFS_DEVDISK_OFF }, @@ -412,7 +412,7 @@ zfs_prop_init(void) { "apfs", ZFS_MIMIC_APFS }, { NULL } }; - /* __APPLE__ */ +#endif /* __APPLE__ */ /* inherit index properties */ zprop_register_index(ZFS_PROP_REDUNDANT_METADATA, "redundant_metadata",