Skip to content

Commit ef24424

Browse files
committed
Don't define incremental ext4 for windows
Signed-off-by: Mohamad Ayyash <[email protected]> Change-Id: I1eba14f7f4db2174de8feaa9d8e5e41524ac1d32
1 parent 9579198 commit ef24424

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext4_utils/make_ext4fs.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,7 @@ static int get_block_group(u32 block) {
546546
static void extract_base_fs_allocations(const char *directory, const char *mountpoint,
547547
FILE* base_alloc_file_in) {
548548
#define err_msg "base file badly formatted"
549+
#ifndef USE_MINGW
549550
// FORMAT Version 1.0: filename blk_mapping
550551
const char *base_alloc_file_in_format = "%s %s";
551552
const int base_file_format_param_count = 2;
@@ -644,6 +645,9 @@ static void extract_base_fs_allocations(const char *directory, const char *mount
644645

645646
free(base_file_line);
646647

648+
#else
649+
return;
650+
#endif
647651
#undef err_msg
648652
}
649653

0 commit comments

Comments
 (0)