dovecot-2.0: Compile fix for non-gcc.

dovecot at dovecot.org dovecot at dovecot.org
Thu Dec 10 17:56:21 EET 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/b6e4cb26c3cb
changeset: 10450:b6e4cb26c3cb
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Dec 10 10:56:15 2009 -0500
description:
Compile fix for non-gcc.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/bsearch-insert-pos.h |    2 +-

diffs (12 lines):

diff -r a164075ea33a -r b6e4cb26c3cb src/lib/bsearch-insert-pos.h
--- a/src/lib/bsearch-insert-pos.h	Wed Dec 09 20:28:54 2009 -0500
+++ b/src/lib/bsearch-insert-pos.h	Thu Dec 10 10:56:15 2009 -0500
@@ -36,7 +36,7 @@ bool array_bsearch_insert_pos_i(const st
 	array_bsearch_insert_pos_i(&(array)->arr, (const void *)key, \
 		(int (*)(const void *, const void *))cmp, idx_r); })
 #else
-#define array_bsearch(array, key, cmp) \
+#define array_bsearch_insert_pos(array, key, cmp, idx_r) \
 	array_bsearch_insert_pos_i(&(array)->arr, (const void *)key, \
 		(int (*)(const void *, const void *))cmp, idx_r)
 #endif


More information about the dovecot-cvs mailing list