aboutsummaryrefslogtreecommitdiff
path: root/core/compress.c
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2026-06-04 17:59:17 +0200
committerPaul Oliver <contact@pauloliver.dev>2026-06-07 03:29:41 +0200
commit6d225cc44104306bac5d32c41734fefc1af95614 (patch)
tree85ddda2b0c3cd738773c8d3ca756d7fbf0eeef2c /core/compress.c
parenteb5f9f6643e0729d35f705c8a7b7b46cb5874a6a (diff)
Adds heatmaps (WIP)
Diffstat (limited to 'core/compress.c')
-rw-r--r--core/compress.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/compress.c b/core/compress.c
index b45a583..8790011 100644
--- a/core/compress.c
+++ b/core/compress.c
@@ -5,7 +5,9 @@ struct DeflateParams {
size_t size;
Bytef *in;
Bytef *out;
+#if defined(THREAD_GAP)
uint8_t tgap[THREAD_GAP];
+#endif
};
struct InflateParams {
@@ -14,7 +16,9 @@ struct InflateParams {
size_t size;
Bytef *in;
Bytef *out;
+#if defined(THREAD_GAP)
uint8_t tgap[THREAD_GAP];
+#endif
};
int comp_deflate(struct DeflateParams *params) {