7.3/master compat

parent 6a1aae7e
......@@ -37,6 +37,17 @@
#include "cache/cache_varnishd.h"
#define _PTOK(call, var) \
do { \
int var = call; \
if (!var) \
break; \
errno = var; \
WRONG(#call " failed"); \
} while (0)
#define PTOK(call) _PTOK(call, VUNIQ_NAME(_pterr))
/*
* stripped down version of Varnish-Cache WRK_BgThread for
* fellow_cache_test
......
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