Skip to content

Commit

Permalink
add ifdef for apple specific structs
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Innes <[email protected]>
  • Loading branch information
andrewc12 committed Oct 31, 2023
1 parent 3ca9f99 commit 10edcd0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/sys/fs/zfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,7 @@ typedef enum {
ZFS_PREFETCH_ALL = 2
} zfs_prefetch_type_t;

#ifdef __APPLE__
typedef enum zfs_mimic {
ZFS_MIMIC_OFF = 0,
ZFS_MIMIC_HFS,
Expand All @@ -567,6 +568,7 @@ typedef enum zfs_devdisk {
ZFS_DEVDISK_OFF,
ZFS_DEVDISK_ON
} zfs_devdisk_t;
#endif /* __APPLE__ */

#define DEFAULT_PBKDF2_ITERATIONS 350000
#define MIN_PBKDF2_ITERATIONS 100000
Expand Down

0 comments on commit 10edcd0

Please sign in to comment.