From: Koji Arai Date: Thu, 30 Oct 2008 06:06:52 +0000 (+0900) Subject: should define MIN() when it was not defined X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ea219082575096f592ce2f40bae3ae7720b63212;p=lha%2Flha.git should define MIN() when it was not defined --- diff --git a/src/lha_macro.h b/src/lha_macro.h index 9bee7ff..cde9ee0 100644 --- a/src/lha_macro.h +++ b/src/lha_macro.h @@ -194,7 +194,9 @@ /* Individual macro define */ /* ------------------------------------------------------------------------ */ +#ifndef MIN #define MIN(a,b) ((a) <= (b) ? (a) : (b)) +#endif /* bitio.c */ #define peekbits(n) (bitbuf >> (sizeof(bitbuf)*8 - (n)))