raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=d990ab7dba5a4710fa2189b664af0632b54243b1

commit d990ab7dba5a4710fa2189b664af0632b54243b1
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Jan 15 18:35:46 2020 +0100

    eina - enable EINA_PRINTF for clang as well as gcc
---
 src/lib/eina/eina_types.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lib/eina/eina_types.h b/src/lib/eina/eina_types.h
index c049baf4dd..bfdfa7d3fb 100644
--- a/src/lib/eina/eina_types.h
+++ b/src/lib/eina/eina_types.h
@@ -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

-- 


Reply via email to