dovecot-2.0: Compile fix for OSX 10.3.

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 1 19:20:45 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/785f1507fed8
changeset: 11445:785f1507fed8
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 01 17:20:42 2010 +0100
description:
Compile fix for OSX 10.3.

diffstat:

 src/lib/lib-signals.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (18 lines):

diff -r 9bd63ce9db85 -r 785f1507fed8 src/lib/lib-signals.c
--- a/src/lib/lib-signals.c	Tue Jun 01 17:08:13 2010 +0100
+++ b/src/lib/lib-signals.c	Tue Jun 01 17:20:42 2010 +0100
@@ -71,10 +71,14 @@
 		switch (sicode) {
 		case BUS_ADRALN:
 			return "invalid address alignment";
+#ifdef BUS_ADRERR /* for OSX 10.3 */
 		case BUS_ADRERR:
 			return "nonexistent physical address";
+#endif
+#ifdef BUS_OBJERR /* for OSX 10.3 */
 		case BUS_OBJERR:
 			return "object-specific hardware error";
+#endif
 		}
 	}
 #endif


More information about the dovecot-cvs mailing list