Commit 72299001 authored by Nils Goroll's avatar Nils Goroll

6.x compat

parent f8c9f7e7
...@@ -10,7 +10,8 @@ libvmod_cluster_la_SOURCES = vmod_cluster.c ...@@ -10,7 +10,8 @@ libvmod_cluster_la_SOURCES = vmod_cluster.c
nodist_libvmod_cluster_la_SOURCES = \ nodist_libvmod_cluster_la_SOURCES = \
vcc_cluster_if.c \ vcc_cluster_if.c \
vcc_cluster_if.h \ vcc_cluster_if.h \
tbl_resolve.h tbl_resolve.h \
vmod_compat.h
@BUILD_VMOD_CLUSTER@ @BUILD_VMOD_CLUSTER@
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include <vrt_obj.h> #include <vrt_obj.h>
#include "vcc_cluster_if.h" #include "vcc_cluster_if.h"
#include "vmod_compat.h"
/* ------------------------------------------------------------ /* ------------------------------------------------------------
* workaround missing VRT_DirectorResolve * workaround missing VRT_DirectorResolve
......
/* compatibility with pre 7.0 vmodtool */
#ifndef VENUM
#define VENUM(x) vmod_enum_ ## x
#endif
#ifndef VARGS
#define VARGS(x) vmod_ ## x ## _arg
#endif
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