OSDN Git Service

should define MIN() when it was not defined
authorKoji Arai <jca02266@gmail.com>
Thu, 30 Oct 2008 06:06:52 +0000 (15:06 +0900)
committerKoji Arai <jca02266@gmail.com>
Thu, 30 Oct 2008 13:27:16 +0000 (22:27 +0900)
src/lha_macro.h

index 9bee7ff..cde9ee0 100644 (file)
 /* Individual macro define                                                  */
 /* ------------------------------------------------------------------------ */
 
+#ifndef MIN
 #define MIN(a,b) ((a) <= (b) ? (a) : (b))
+#endif
 
 /* bitio.c */
 #define peekbits(n)     (bitbuf >> (sizeof(bitbuf)*8 - (n)))