From 2e8481c03bceef8d009ea30b40c3e1674cfc9e93 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 10 Oct 2006 11:11:04 +0000 Subject: Various changes --- common/util.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common/util.h') diff --git a/common/util.h b/common/util.h index 8940c9355..7a9738d69 100644 --- a/common/util.h +++ b/common/util.h @@ -43,6 +43,13 @@ #include "../jnlib/dotlock.h" #include "../jnlib/utf8conv.h" +#if __GNUC__ >= 4 +# define GNUPG_GCC_A_SENTINEL(a) __attribute__ ((sentinel(a))) +#else +# define GNUPG_GCC_A_SENTINEL(a) +#endif + + /* We need this type even if we are not using libreadline and or we did not include libreadline in the current file. */ #ifndef GNUPG_LIBREADLINE_H_INCLUDED -- cgit v1.2.3