Commit bb84630c authored by Geoff Simmons's avatar Geoff Simmons

Work around the ZERO_OBJ difficulties.

https://github.com/varnishcache/varnish-cache/issues/3051
parent a40a0d1c
......@@ -46,6 +46,14 @@
#include "vtim.h"
#include "vsb.h"
/*
* Workaround for the difficulties with feature test macros in newer
* compiler versions, see:
* https://github.com/varnishcache/varnish-cache/issues/3051
*/
#undef ZERO_OBJ
#define ZERO_OBJ(to, sz) (void)memset(to, 0, sz)
#include "vcc_if.h"
#define VFAIL(ctx, fmt, ...) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment