gc legacy compatibility code

parent e81b5600
......@@ -44,21 +44,6 @@
#include "vcc_if.h"
#include "rvb.h"
// compat with pre 7.3 - XXX REMOVEME
#ifndef WS_TASK_ALLOC_OBJ
#define WS_TASK_ALLOC_OBJ(ctx, ptr, magic) do { \
ptr = WS_Alloc((ctx)->ws, sizeof *(ptr)); \
if ((ptr) == NULL) \
VRT_fail(ctx, "Out of workspace for " #magic); \
else \
INIT_OBJ(ptr, magic); \
} while(0)
#endif
#if !HAVE_PCRE2_SET_DEPTH_LIMIT
# define pcre2_set_depth_limit(r, d) pcre2_set_recursion_limit(r, d)
#endif
#define MAX_MATCHES 11
#define MAX_OV ((MAX_MATCHES) * 2)
......@@ -99,11 +84,6 @@ static vdp_init_f re_vdp_init;
static vdp_bytes_f re_vdp_bytes;
static vdp_fini_f re_vdp_fini;
// varnish-cache pre 7f28888779fd14f99eb34e50f6fb07ea6bbff999
#ifndef NO_VXID
#define NO_VXID (0U)
#endif
static void
errmsg(VRT_CTX, const char *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