projects
/
platform
/
upstream
/
ejdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb089a
)
removed compiler warn
author
adam
<anton@adamansky.com>
Sun, 28 Oct 2012 14:26:58 +0000
(21:26 +0700)
committer
adam
<anton@adamansky.com>
Sun, 28 Oct 2012 14:26:58 +0000
(21:26 +0700)
tcejdb/timsort.c
patch
|
blob
|
history
diff --git
a/tcejdb/timsort.c
b/tcejdb/timsort.c
index
5240399
..
a5af467
100644
(file)
--- a/
tcejdb/timsort.c
+++ b/
tcejdb/timsort.c
@@
-75,7
+75,9
@@
#define ELEM(a,i) ((char *)(a) + (i) * WIDTH)
#define LEN(n) ((n) * WIDTH)
+#ifndef MIN
#define MIN(a,b) ((a) <= (b) ? (a) : (b))
+#endif
#define SUCCESS 0
#define FAILURE (-1)