X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fwget.h;h=241537a952b650c976828019fd2a3f7bbfff6afe;hp=e582e0082bfbae696db45119447606aa91c3f1af;hb=0ff9eb47276f0485e7c2e1ed1c014c7c82758ef7;hpb=83b0e389400b03110402d1408fd9610988ba3419 diff --git a/src/wget.h b/src/wget.h index e582e008..241537a9 100644 --- a/src/wget.h +++ b/src/wget.h @@ -101,6 +101,12 @@ so, delete this exception statement from your version. */ # define DEBUGP(x) DO_NOTHING #endif /* not ENABLE_DEBUG */ +#ifdef __GNUC__ +# define GCC_FORMAT_ATTR(a, b) __attribute__ ((format (printf, a, b))) +#else /* not __GNUC__ */ +# define GCC_FORMAT_ATTR(a, b) +#endif /* not __GNUC__ */ + /* Everything uses this, so include them here directly. */ #include "xmalloc.h"