Add option to link zlib statically
[project/make_ext4fs.git] / libsparse / sparse_read.c
index 9b10293..641d451 100644 (file)
@@ -78,12 +78,9 @@ static void verbose_error(bool verbose, int err, const char *fmt, ...)
                s = " at ";
        }
        if (verbose) {
                s = " at ";
        }
        if (verbose) {
-#ifndef USE_MINGW
                if (err == -EOVERFLOW) {
                        sparse_print_verbose("EOF while reading file%s%s\n", s, at);
                if (err == -EOVERFLOW) {
                        sparse_print_verbose("EOF while reading file%s%s\n", s, at);
-               } else
-#endif
-               if (err == -EINVAL) {
+               } else if (err == -EINVAL) {
                        sparse_print_verbose("Invalid sparse file format%s%s\n", s, at);
                } else if (err == -ENOMEM) {
                        sparse_print_verbose("Failed allocation while reading file%s%s\n",
                        sparse_print_verbose("Invalid sparse file format%s%s\n", s, at);
                } else if (err == -ENOMEM) {
                        sparse_print_verbose("Failed allocation while reading file%s%s\n",