eina - enable EINA_PRINTF for clang as well as gcc

This commit is contained in:
Carsten Haitzler 2020-01-15 18:35:46 +01:00
parent e2ba332866
commit d990ab7dba
1 changed files with 1 additions and 0 deletions

View File

@ -224,6 +224,7 @@
# define EINA_LIKELY(exp) __builtin_expect((exp), 1)
# define EINA_SENTINEL __attribute__((__sentinel__))
# ifndef __clang__
# define EINA_PRINTF(fmt, arg) __attribute__((__format__ (__printf__, fmt, arg)))
# if __GNUC__ >= 7
# define EINA_FALLTHROUGH __attribute__ ((fallthrough));
# else