mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02: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
1 changed files with 6 additions and 0 deletions
|
@ -159,6 +159,12 @@
|
|||
# define GNUPG_GCC_A_SENTINEL(a)
|
||||
#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
|
||||
did not include libreadline in the current file. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue