summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/eina/src/include/eina_types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/legacy/eina/src/include/eina_types.h b/legacy/eina/src/include/eina_types.h
index 259d238957..b0a7cf864c 100644
--- a/legacy/eina/src/include/eina_types.h
+++ b/legacy/eina/src/include/eina_types.h
@@ -124,7 +124,11 @@
124# endif 124# endif
125 125
126# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4) 126# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
127# define EINA_PRINTF(fmt, arg) __attribute__((__format__ (__gnu_printf__, fmt, arg))) 127# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 3)
128# define EINA_PRINTF(fmt, arg) __attribute__((__format__ (__gnu_printf__, fmt, arg)))
129# else
130# define EINA_PRINTF(fmt, arg) __attribute__((__format__ (__printf__, fmt, arg)))
131# endif
128# define EINA_SCANF(fmt, arg) __attribute__((__format__ (__scanf__, fmt, arg))) 132# define EINA_SCANF(fmt, arg) __attribute__((__format__ (__scanf__, fmt, arg)))
129# define EINA_FORMAT(fmt) __attribute__((__format_arg__(fmt))) 133# define EINA_FORMAT(fmt) __attribute__((__format_arg__(fmt)))
130# define EINA_CONST __attribute__((__const__)) 134# define EINA_CONST __attribute__((__const__))