Don't define incremental ext4 for windows
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Change-Id: I1eba14f7f4db2174de8feaa9d8e5e41524ac1d32
diff --git a/ext4_utils/make_ext4fs.c b/ext4_utils/make_ext4fs.c
index 7752e6b..1a6c0c1 100644
--- a/ext4_utils/make_ext4fs.c
+++ b/ext4_utils/make_ext4fs.c
@@ -546,6 +546,7 @@
static void extract_base_fs_allocations(const char *directory, const char *mountpoint,
FILE* base_alloc_file_in) {
#define err_msg "base file badly formatted"
+#ifndef USE_MINGW
// FORMAT Version 1.0: filename blk_mapping
const char *base_alloc_file_in_format = "%s %s";
const int base_file_format_param_count = 2;
@@ -644,6 +645,9 @@
free(base_file_line);
+#else
+ return;
+#endif
#undef err_msg
}