]> The Tcpdump Group git mirrors - libpcap/commitdiff
(bpf_error): conditionalize __attribute__
authorassar <assar>
Sat, 1 Apr 2000 12:27:28 +0000 (12:27 +0000)
committerassar <assar>
Sat, 1 Apr 2000 12:27:28 +0000 (12:27 +0000)
gencode.h

index 8bbdee11b342e1559970d4ccc44d5e0e397df2c9..f55922ba19d780affda0e74c4b2a6b76d0ec8bfb 100644 (file)
--- 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 *);