dovecot-1.1: MEMBER(): Don't try to use the C99 "." feature with...
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jun 13 11:01:41 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/e5adab587cad
changeset: 7668:e5adab587cad
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 27e2725b5ff3 -r e5adab587cad 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