dovecot-1.1: AIX: Use DQBSIZE for DEV_BSIZE.

dovecot at dovecot.org dovecot at dovecot.org
Sun Jul 20 21:38:40 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/3f903dfa8650
changeset: 7775:3f903dfa8650
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jul 20 21:38:34 2008 +0300
description:
AIX: Use DQBSIZE for DEV_BSIZE.

diffstat:

1 file changed, 5 insertions(+), 1 deletion(-)
src/plugins/quota/quota-fs.c |    6 +++++-

diffs (16 lines):

diff -r 70523f420d35 -r 3f903dfa8650 src/plugins/quota/quota-fs.c
--- a/src/plugins/quota/quota-fs.c	Sun Jul 20 21:17:31 2008 +0300
+++ b/src/plugins/quota/quota-fs.c	Sun Jul 20 21:38:34 2008 +0300
@@ -30,7 +30,11 @@
 #endif
 
 #ifndef DEV_BSIZE
-#  define DEV_BSIZE 512
+#  ifdef DQBSIZE
+#    define DEV_BSIZE DQBSIZE /* AIX */
+#  else
+#    define DEV_BSIZE 512
+#  endif
 #endif
 
 #ifdef HAVE_STRUCT_DQBLK_CURSPACE


More information about the dovecot-cvs mailing list