diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2010-05-26 10:36:46 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2010-05-26 10:36:46 +0300 |
commit | 920a69a8d8e4203c5edddd829d932130eac188ea (patch) | |
tree | e1478b0896e839202014fe63b97876740d7f9f5f /debug | |
parent | 019ae27c24d0c694545a6a46f8b9fb552198b015 (diff) | |
download | xz-920a69a8d8e4203c5edddd829d932130eac188ea.tar.gz |
Rename MIN() and MAX() to my_min() and my_max().
This should avoid some minor portability issues.
Diffstat (limited to 'debug')
-rw-r--r-- | debug/full_flush.c | 2 | ||||
-rw-r--r-- | debug/sync_flush.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/debug/full_flush.c b/debug/full_flush.c index ce0d2e8..67442b1 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 a094ef7..fc2ebcb 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. |