Commit e13017aa authored by Geoff Simmons's avatar Geoff Simmons

Add the ZERO_OBJ workaround.

parent 0608f516
......@@ -41,6 +41,14 @@
#include "vbm.h"
#include "cache/cache_director.h"
/*
* Workaround with 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"
#include "patricia.h"
#include "VSC_selector.h"
......
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