Fix COMPRESSED macro

Fix #3383
This commit is contained in:
topjohnwu 2020-10-25 05:10:19 -07:00
parent 0d11f73a1d
commit 1b0b180761

View File

@ -25,7 +25,7 @@ typedef enum {
DTB,
} format_t;
#define COMPRESSED(fmt) ((fmt) >= GZIP && (fmt) <= LZ4_LEGACY)
#define COMPRESSED(fmt) ((fmt) >= GZIP && (fmt) < LZOP)
#define COMPRESSED_ANY(fmt) ((fmt) >= GZIP && (fmt) <= LZOP)
#define BOOT_MAGIC "ANDROID!"