diff options
author | Werner Koch <wk@gnupg.org> | 2006-10-10 13:11:04 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2006-10-10 13:11:04 +0200 |
commit | 2e8481c03bceef8d009ea30b40c3e1674cfc9e93 (patch) | |
tree | 03469588ff8e79f7c2cc28300cc133c9e89c69d1 /common/util.h | |
parent | Make it also work for the card. (diff) | |
download | gnupg2-2e8481c03bceef8d009ea30b40c3e1674cfc9e93.tar.xz gnupg2-2e8481c03bceef8d009ea30b40c3e1674cfc9e93.zip |
Various changes
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 |