OSDN Git Service
(root)
/
lha
/
lha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09d239f
)
should define MIN() when it was not defined
author
Koji Arai
<jca02266@gmail.com>
Thu, 30 Oct 2008 06:06:52 +0000
(15:06 +0900)
committer
Koji Arai
<jca02266@gmail.com>
Thu, 30 Oct 2008 13:27:16 +0000
(22:27 +0900)
src/lha_macro.h
patch
|
blob
|
history
diff --git
a/src/lha_macro.h
b/src/lha_macro.h
index
9bee7ff
..
cde9ee0
100644
(file)
--- 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)))