diff options
author | adufray <github@adufray.com> | 2020-01-29 09:47:04 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 09:47:04 -0600 |
commit | 337e64706c9d7f8e00d710b855fe5e5373354d65 (patch) | |
tree | 83836ac4b3407dd25d040d4b96683d4af60c1266 | |
parent | Merge pull request #63 from whataboutpereira/mysql-v8 (diff) | |
download | OpenSMTPD-extras-337e64706c9d7f8e00d710b855fe5e5373354d65.tar.xz OpenSMTPD-extras-337e64706c9d7f8e00d710b855fe5e5373354d65.zip |
Fix builds for MariaDB users
-rw-r--r-- | extras/tables/table-mysql/table_mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |