eina - enable EINA_PRINTF for clang as well as gcc
This commit is contained in:
parent
e2ba332866
commit
d990ab7dba
|
@ -224,6 +224,7 @@
|
||||||
# define EINA_LIKELY(exp) __builtin_expect((exp), 1)
|
# define EINA_LIKELY(exp) __builtin_expect((exp), 1)
|
||||||
# define EINA_SENTINEL __attribute__((__sentinel__))
|
# define EINA_SENTINEL __attribute__((__sentinel__))
|
||||||
# ifndef __clang__
|
# ifndef __clang__
|
||||||
|
# define EINA_PRINTF(fmt, arg) __attribute__((__format__ (__printf__, fmt, arg)))
|
||||||
# if __GNUC__ >= 7
|
# if __GNUC__ >= 7
|
||||||
# define EINA_FALLTHROUGH __attribute__ ((fallthrough));
|
# define EINA_FALLTHROUGH __attribute__ ((fallthrough));
|
||||||
# else
|
# else
|
||||||
|
|
Loading…
Reference in New Issue