[master] b33d675 Not everybody has __printflike()

Poul-Henning Kamp phk at varnish-cache.org
Mon Apr 4 17:46:45 CEST 2011


commit b33d675720c4ea3a082f962f27135f052284bc1c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Apr 4 15:46:34 2011 +0000

    Not everybody has __printflike()

diff --git a/include/vsb.h b/include/vsb.h
index e7b62ef..5db06b9 100644
--- a/include/vsb.h
+++ b/include/vsb.h
@@ -51,6 +51,10 @@ struct vsb {
 	int		 s_flags;	/* flags */
 };
 
+#ifndef __printflike
+#define __printflike(a,b)
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif



More information about the varnish-commit mailing list