From efd777fca8fd4fc4644b846d1bdb73ce9844c4c6 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Tue, 9 Apr 2024 15:01:34 +0200 Subject: [PATCH] lib/dbi/ogs-monoc: add MONGOC_CHECK_VERSION stub --- lib/dbi/ogs-mongoc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/dbi/ogs-mongoc.h b/lib/dbi/ogs-mongoc.h index af12ea5b5..d384d875b 100644 --- a/lib/dbi/ogs-mongoc.h +++ b/lib/dbi/ogs-mongoc.h @@ -24,6 +24,9 @@ #ifndef OGS_MONGOC_H #define OGS_MONGOC_H +/* STUB to disable building with mongodb (OS#6215) */ +#define MONGOC_CHECK_VERSION(a, b, c) false + #ifdef __cplusplus extern "C" { #endif /* __cplusplus */