]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
MEMBER(): Don't try to use the C99 "." feature with HP-UX.
authorTimo Sirainen <tss@iki.fi>
Fri, 13 Jun 2008 08:01:36 +0000 (11:01 +0300)
committerTimo Sirainen <tss@iki.fi>
Fri, 13 Jun 2008 08:01:36 +0000 (11:01 +0300)
--HG--
branch : HEAD

src/lib/macros.h

index f280f128ff54e2679c4452d8e8a541ef67458bc3..d3765ba5bdb836a632066e3f4f16f0cd682364a5 100644 (file)
 #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)