dovecot-2.2: Use proper HAVE_TYPEOF check instead of checking wi...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Feb 24 08:49:36 EET 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/e2ffe53ac89c
changeset: 15899:e2ffe53ac89c
user: Timo Sirainen <tss at iki.fi>
date: Sun Feb 24 08:44:27 2013 +0200
description:
Use proper HAVE_TYPEOF check instead of checking with gcc versions.
diffstat:
configure.ac | 1 +
src/lib/macros.h | 1 -
2 files changed, 1 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 357b1f1285ea -r e2ffe53ac89c configure.ac
--- a/configure.ac Sun Feb 24 08:06:59 2013 +0200
+++ b/configure.ac Sun Feb 24 08:44:27 2013 +0200
@@ -290,6 +290,7 @@
AC_PROG_CXX # lucene plugin needs this
AC_HEADER_STDC
AC_C_INLINE
+AC_C_TYPEOF
AC_PROG_LIBTOOL
AM_ICONV
diff -r 357b1f1285ea -r e2ffe53ac89c src/lib/macros.h
--- a/src/lib/macros.h Sun Feb 24 08:06:59 2013 +0200
+++ b/src/lib/macros.h Sun Feb 24 08:44:27 2013 +0200
@@ -151,7 +151,6 @@
#endif
#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 0)) && !defined(__cplusplus)
-# define HAVE_TYPEOF
# define COMPILE_ERROR_IF_TRUE(condition) \
(sizeof(char[1 - 2 * !!(condition)]) - 1)
# define COMPILE_ERROR_IF_TYPES_NOT_COMPATIBLE(_a, _b) \
More information about the dovecot-cvs
mailing list