From 337e64706c9d7f8e00d710b855fe5e5373354d65 Mon Sep 17 00:00:00 2001 From: adufray Date: Wed, 29 Jan 2020 09:47:04 -0600 Subject: Fix builds for MariaDB users --- extras/tables/table-mysql/table_mysql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/tables/table-mysql/table_mysql.c b/extras/tables/table-mysql/table_mysql.c index 257a713..53fb7b7 100644 --- a/extras/tables/table-mysql/table_mysql.c +++ b/extras/tables/table-mysql/table_mysql.c @@ -243,7 +243,7 @@ config_connect(struct config *conf) { "query_addrname", 1 }, { "query_mailaddrmap", 1 }, }; -#if MYSQL_VERSION_ID >= 80001 +#if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80001 bool reconn; #else my_bool reconn; -- cgit v1.2.3-59-g8ed1b