From: assar Date: Sat, 1 Apr 2000 12:27:28 +0000 (+0000) Subject: (bpf_error): conditionalize __attribute__ X-Git-Tag: libpcap-0.6.1~182 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/417d093c9c08b38c0294cde11eef20b482c72c4e?ds=sidebyside (bpf_error): conditionalize __attribute__ --- diff --git a/gencode.h b/gencode.h index 8bbdee11..f55922ba 100644 --- a/gencode.h +++ b/gencode.h @@ -18,7 +18,7 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * @(#) $Header: /tcpdump/master/libpcap/gencode.h,v 1.37 1999-10-19 15:18:29 itojun Exp $ (LBL) + * @(#) $Header: /tcpdump/master/libpcap/gencode.h,v 1.38 2000-04-01 12:27:28 assar Exp $ (LBL) */ /*XXX*/ @@ -179,7 +179,10 @@ struct block *gen_inbound(int); void bpf_optimize(struct block **); #if __STDC__ __dead void bpf_error(const char *, ...) - __attribute__((volatile, format (printf, 1, 2))); +#if HAVE___ATTRIBUTE__ + __attribute__((volatile, format (printf, 1, 2))) +#endif +; #endif void finish_parse(struct block *);