Define JV_*PRINTF_LIKE for non-__GNUC__ compilers
This commit is contained in:
1 parent
dc679081fa
commit
96815fe168
1 file changed
+3
@@ -99,6 +99,9 @@ jv jv_array_indexes(jv, jv);
|
||||
__attribute__ ((__format__( __printf__, fmt_arg_num, args_num)))
|
||||
#define JV_VPRINTF_LIKE(fmt_arg_num) \
|
||||
__attribute__ ((__format__( __printf__, fmt_arg_num, 0)))
|
||||
#else
|
||||
#define JV_PRINTF_LIKE(fmt_arg_num, args_num)
|
||||
#define JV_VPRINTF_LIKE(fmt_arg_num)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user