X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=lwext4%2Fext4_config.h;h=65c8e102e363eb6183985f4982f283df4f2966d1;hb=29a5d255e429f73fbe44ac7c878fff3003474c88;hp=ff864e63264d3fb3a2ac99a6df2979165049615b;hpb=f94418c1b2233ce9e857684377a65d4495c05ffb;p=lwext4.git diff --git a/lwext4/ext4_config.h b/lwext4/ext4_config.h index ff864e6..65c8e10 100644 --- a/lwext4/ext4_config.h +++ b/lwext4/ext4_config.h @@ -61,7 +61,7 @@ #define CONFIG_FEATURE_COMPAT_SUPP EXT2_FEATURE_COMPAT_SUPP #define CONFIG_FEATURE_INCOMPAT_SUPP \ - (EXT2_FEATURE_INCOMPAT_SUPP | FEATURE_INCOMPAT_IGNORED) + (EXT2_FEATURE_INCOMPAT_SUPP | FEATURE_INCOMPAT_IGNORED) #define CONFIG_FEATURE_RO_COMPAT_SUPP EXT2_FEATURE_RO_COMPAT_SUPP #elif CONFIG_EXT_FEATURE_SET_LVL == F_SET_EXT3 @@ -72,7 +72,7 @@ #define CONFIG_FEATURE_COMPAT_SUPP EXT3_FEATURE_COMPAT_SUPP #define CONFIG_FEATURE_INCOMPAT_SUPP \ - (EXT3_FEATURE_INCOMPAT_SUPP | FEATURE_INCOMPAT_IGNORED) + (EXT3_FEATURE_INCOMPAT_SUPP | FEATURE_INCOMPAT_IGNORED) #define CONFIG_FEATURE_RO_COMPAT_SUPP EXT3_FEATURE_RO_COMPAT_SUPP #elif CONFIG_EXT_FEATURE_SET_LVL == F_SET_EXT4 @@ -83,7 +83,7 @@ #define CONFIG_FEATURE_COMPAT_SUPP EXT4_FEATURE_COMPAT_SUPP #define CONFIG_FEATURE_INCOMPAT_SUPP \ - (EXT4_FEATURE_INCOMPAT_SUPP | FEATURE_INCOMPAT_IGNORED) + (EXT4_FEATURE_INCOMPAT_SUPP | FEATURE_INCOMPAT_IGNORED) #define CONFIG_FEATURE_RO_COMPAT_SUPP EXT4_FEATURE_RO_COMPAT_SUPP #else @@ -97,7 +97,7 @@ #define CONFIG_DIR_INDEX_COMB_SORT 1 #endif -/**@brief Include error codes from ext4_errno or sandard library.*/ +/**@brief Include error codes from ext4_errno or standard library.*/ #ifndef CONFIG_HAVE_OWN_ERRNO #define CONFIG_HAVE_OWN_ERRNO 1 #endif @@ -112,6 +112,11 @@ #define CONFIG_DEBUG_ASSERT 1 #endif +/**@brief Include assert codes from ext4_debug or standard library.*/ +#ifndef CONFIG_HAVE_OWN_ASSERT +#define CONFIG_HAVE_OWN_ASSERT 1 +#endif + /**@brief Statistics of block device*/ #ifndef CONFIG_BLOCK_DEV_ENABLE_STATS #define CONFIG_BLOCK_DEV_ENABLE_STATS 1 @@ -122,16 +127,21 @@ #define CONFIG_BLOCK_DEV_CACHE_SIZE 8 #endif -/**@brief Ilosc urzadzen blokowych.*/ +/**@brief Maximum block device count*/ #ifndef CONFIG_EXT4_BLOCKDEVS_COUNT #define CONFIG_EXT4_BLOCKDEVS_COUNT 2 #endif -/**@brief Ilosc punktow montowania systemu plikow*/ +/**@brief Maximum mountpoint count*/ #ifndef CONFIG_EXT4_MOUNTPOINTS_COUNT #define CONFIG_EXT4_MOUNTPOINTS_COUNT 2 #endif +/**@brief Include open flags from ext4_errno or standard library.*/ +#ifndef CONFIG_HAVE_OWN_OFLAGS +#define CONFIG_HAVE_OWN_OFLAGS 0 +#endif + #endif /* EXT4_CONFIG_H_ */ /**