summaryrefslogtreecommitdiff
path: root/core/io/compression.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/compression.h')
-rw-r--r--core/io/compression.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/io/compression.h b/core/io/compression.h
index 742f0f4d68..bc39fc4185 100644
--- a/core/io/compression.h
+++ b/core/io/compression.h
@@ -37,7 +37,8 @@ public:
enum Mode {
MODE_FASTLZ,
MODE_DEFLATE,
- MODE_ZSTD
+ MODE_ZSTD,
+ MODE_GZIP
};
static int compress(uint8_t *p_dst, const uint8_t *p_src, int p_src_size, Mode p_mode = MODE_ZSTD);