diff options
Diffstat (limited to 'include/rin/definitions.h')
-rw-r--r-- | include/rin/definitions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rin/definitions.h b/include/rin/definitions.h index 9995e0f..75e4da0 100644 --- a/include/rin/definitions.h +++ b/include/rin/definitions.h @@ -28,7 +28,7 @@ # define WEAK_SYM __attribute__((weak)) /* allow the compiler to check varargs */ -# define FORMAT_STRING(a, b) __attribute__((format (printf, a, b))) +# define FORMAT_STRING(a, b) __attribute__((format (gnu_printf, a, b))) /* optimizing likely / unlikely branches */ # define likely(a) (__builtin_expect(!!(a), 1)) |