aboutsummaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
Diffstat (limited to 'debug')
-rw-r--r--debug/full_flush.c2
-rw-r--r--debug/sync_flush.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/debug/full_flush.c b/debug/full_flush.c
index ce0d2e89..67442b15 100644
--- a/debug/full_flush.c
+++ b/debug/full_flush.c
@@ -29,7 +29,7 @@ encode(size_t size, lzma_action action)
do {
if (strm.avail_in == 0 && size > 0) {
- const size_t amount = MIN(size, CHUNK);
+ const size_t amount = my_min(size, CHUNK);
strm.avail_in = fread(in, 1, amount, file_in);
strm.next_in = in;
size -= amount; // Intentionally not using avail_in.
diff --git a/debug/sync_flush.c b/debug/sync_flush.c
index a094ef75..fc2ebcb2 100644
--- a/debug/sync_flush.c
+++ b/debug/sync_flush.c
@@ -29,7 +29,7 @@ encode(size_t size, lzma_action action)
do {
if (strm.avail_in == 0 && size > 0) {
- const size_t amount = MIN(size, CHUNK);
+ const size_t amount = my_min(size, CHUNK);
strm.avail_in = fread(in, 1, amount, file_in);
strm.next_in = in;
size -= amount; // Intentionally not using avail_in.