mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
common: Add macro GNUPG_GCC_A_USED.
* common/util.h (GNUPG_GCC_A_USED): New. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
674e9a02ab
commit
99ef9cd7f5
@ -159,6 +159,12 @@
|
|||||||
# define GNUPG_GCC_A_SENTINEL(a)
|
# define GNUPG_GCC_A_SENTINEL(a)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if __GNUC__ >= 4
|
||||||
|
# define GNUPG_GCC_A_USED __attribute__ ((used))
|
||||||
|
#else
|
||||||
|
# define GNUPG_GCC_A_USED
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* We need this type even if we are not using libreadline and or we
|
/* We need this type even if we are not using libreadline and or we
|
||||||
did not include libreadline in the current file. */
|
did not include libreadline in the current file. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user