diff options
author | Timotej S <6674623+underhood@users.noreply.github.com> | 2021-09-29 17:53:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-29 17:53:53 +0200 |
commit | dad48421a6b3482f9cb71973885cf1160408855f (patch) | |
tree | cc66313a014c333e8baa09d3e34f46c98e4ce96b /database/sqlite/sqlite_aclk_node.c | |
parent | 8d0a2384412882cf9b641f17cf4e0602db4cce4d (diff) |
Makes New Cloud architecture optional for ACLK-NG (#11587)
ACLK-NG supports both new and old cloud protocol. Protobuf and C++ compiler are required only for new cloud protocol.
There is no reason to skip building whole ACLK-NG when protobuf is missing.
Diffstat (limited to 'database/sqlite/sqlite_aclk_node.c')
-rw-r--r-- | database/sqlite/sqlite_aclk_node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/database/sqlite/sqlite_aclk_node.c b/database/sqlite/sqlite_aclk_node.c index 98dbd1f99b..0738024211 100644 --- a/database/sqlite/sqlite_aclk_node.c +++ b/database/sqlite/sqlite_aclk_node.c @@ -3,7 +3,7 @@ #include "sqlite_functions.h" #include "sqlite_aclk_node.h" -#ifdef ACLK_NG +#ifdef ENABLE_NEW_CLOUD_PROTOCOL #include "../../aclk/aclk_charts_api.h" #endif @@ -11,7 +11,7 @@ void sql_build_node_info(struct aclk_database_worker_config *wc, struct aclk_dat { UNUSED(cmd); -#ifdef ACLK_NG +#ifdef ENABLE_NEW_CLOUD_PROTOCOL struct update_node_info node_info; rrd_wrlock(); |