]> sjero.net Git - wget/blobdiff - src/wget.h
[svn] Restructure generation of HTTP requests. Allow headers specified with
[wget] / src / wget.h
index e582e0082bfbae696db45119447606aa91c3f1af..241537a952b650c976828019fd2a3f7bbfff6afe 100644 (file)
@@ -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"