diff options
Diffstat (limited to 'polyp/gcc-printf.h')
-rw-r--r-- | polyp/gcc-printf.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/polyp/gcc-printf.h b/polyp/gcc-printf.h new file mode 100644 index 00000000..224552af --- /dev/null +++ b/polyp/gcc-printf.h @@ -0,0 +1,10 @@ +#ifndef foogccprintfhfoo +#define foogccprintfhfoo + +#ifdef __GNUC__ +#define PA_GCC_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b))) +#else +#define PA_GCC_PRINTF_ATTR(a,b) +#endif + +#endif |