mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
fix -Werror compile
This commit is contained in:
parent
ac0e5ab96a
commit
734e5ebc93
@ -54,7 +54,11 @@
|
||||
# define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m)))
|
||||
# if __GNUC_PREREQ (3,0)
|
||||
# define ATTRIBUTE_ALWAYS_INLINE __attribute__ ((always_inline)) inline
|
||||
# define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
|
||||
# if !ENABLE_WERROR
|
||||
# define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
|
||||
# else
|
||||
# define ATTRIBUTE_DEPRECATED /* n/a */
|
||||
# endif
|
||||
# else
|
||||
# define ATTRIBUTE_ALWAYS_INLINE inline
|
||||
# define ATTRIBUTE_DEPRECATED /* n/a */
|
||||
|
Loading…
Reference in New Issue
Block a user