dovecot-1.1: Fixed compiling in BSD systems.
dovecot at dovecot.org
dovecot at dovecot.org
Fri May 30 11:59:00 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/0d842b055838
changeset: 7577:0d842b055838
user: Timo Sirainen <tss at iki.fi>
date: Fri May 30 11:58:56 2008 +0300
description:
Fixed compiling in BSD systems.
diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
src/lib/compat.h | 4 ++--
diffs (16 lines):
diff -r eb8334db63a7 -r 0d842b055838 src/lib/compat.h
--- a/src/lib/compat.h Fri May 30 03:15:22 2008 +0300
+++ b/src/lib/compat.h Fri May 30 11:58:56 2008 +0300
@@ -90,10 +90,10 @@ typedef int socklen_t;
#define CMP_ST_MTIME(st1, st2) \
((st1)->st_mtime == (st2)->st_mtime && \
- ST_NTIMES_EQUAL((st1)->st_mtim.tv_nsec, (st2)->st_mtim.tv_nsec))
+ ST_NTIMES_EQUAL(ST_MTIME_NSEC(*(st1)), ST_MTIME_NSEC(*(st2))))
#define CMP_ST_CTIME(st1, st2) \
((st1)->st_ctime == (st2)->st_ctime && \
- ST_NTIMES_EQUAL((st1)->st_ctim.tv_nsec, (st2)->st_ctim.tv_nsec))
+ ST_NTIMES_EQUAL(ST_MTIME_NSEC(*(st1)), ST_MTIME_NSEC(*(st2))))
/* strcasecmp(), strncasecmp() */
#ifndef HAVE_STRCASECMP
More information about the dovecot-cvs
mailing list