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 /src/xz | |
parent | Fix compilation of debug/known_sizes.c. (diff) | |
download | xz-920a69a8d8e4203c5edddd829d932130eac188ea.tar.xz |
Rename MIN() and MAX() to my_min() and my_max().
This should avoid some minor portability issues.
Diffstat (limited to 'src/xz')
-rw-r--r-- | src/xz/args.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xz/args.c b/src/xz/args.c index fdd63b44..7b12529c 100644 --- a/src/xz/args.c +++ b/src/xz/args.c @@ -406,7 +406,8 @@ parse_environment(args_info *args, char *argv0) // Keep argc small enough to fit into a singed int // and to keep it usable for memory allocation. - if (++argc == MIN(INT_MAX, SIZE_MAX / sizeof(char *))) + if (++argc == my_min( + INT_MAX, SIZE_MAX / sizeof(char *))) message_fatal(_("The environment variable " "XZ_OPT contains too many " "arguments")); |