summaryrefslogtreecommitdiff
path: root/ext4_utils
diff options
context:
space:
mode:
authorMohamad Ayyash <mkayyash@google.com>2016-02-23 20:13:02 -0800
committerMohamad Ayyash <mkayyash@google.com>2016-02-23 20:14:46 -0800
commitef24424e32921f509f98aae429b6efd9b0e4eae6 (patch)
tree5cce2711625d583098f2d0f4f54ab615a39b672d /ext4_utils
parent9579198cd7d5b88b3508f1b00ddd77bd8da60682 (diff)
downloadextras-ef24424e32921f509f98aae429b6efd9b0e4eae6.tar.gz
Don't define incremental ext4 for windows
Signed-off-by: Mohamad Ayyash <mkayyash@google.com> Change-Id: I1eba14f7f4db2174de8feaa9d8e5e41524ac1d32
Diffstat (limited to 'ext4_utils')
-rw-r--r--ext4_utils/make_ext4fs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext4_utils/make_ext4fs.c b/ext4_utils/make_ext4fs.c
index 7752e6b9..1a6c0c1c 100644
--- a/ext4_utils/make_ext4fs.c
+++ b/ext4_utils/make_ext4fs.c
@@ -546,6 +546,7 @@ static int get_block_group(u32 block) {
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 @@ static void extract_base_fs_allocations(const char *directory, const char *mount
free(base_file_line);
+#else
+ return;
+#endif
#undef err_msg
}