dovecot-1.2: MEMBER(): Don't try to use the C99 "." feature with...

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 17 12:36:47 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/04d86d65c469
changeset: 7868:04d86d65c469
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jun 13 11:01:36 2008 +0300
description:
MEMBER(): Don't try to use the C99 "." feature with HP-UX.

diffstat:

1 file changed, 2 insertions(+), 1 deletion(-)
src/lib/macros.h |    3 ++-

diffs (13 lines):

diff -r 3f8282688777 -r 04d86d65c469 src/lib/macros.h
--- a/src/lib/macros.h	Fri Jun 13 10:57:48 2008 +0300
+++ b/src/lib/macros.h	Fri Jun 13 11:01:36 2008 +0300
@@ -130,7 +130,8 @@
 #endif
 
 /* C99-style struct member definitions */
-#if (defined(__STDC__) && __STDC_VERSION__ >= 199901L) || __GNUC__ > 2
+#if (defined(__STDC__) && __STDC_VERSION__ >= 199901L && \
+	!defined(_HPUX_SOURCE)) || __GNUC__ > 2
 #  define MEMBER(name) .name =
 #else
 #  define MEMBER(name)


More information about the dovecot-cvs mailing list