From 920a69a8d8e4203c5edddd829d932130eac188ea Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 26 May 2010 10:36:46 +0300 Subject: Rename MIN() and MAX() to my_min() and my_max(). This should avoid some minor portability issues. --- debug/full_flush.c | 2 +- debug/sync_flush.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'debug') 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. -- cgit v1.2.3